API Reference
OfficeDrawingGroup
Clipped nested drawing element inside an OfficeDrawing canvas. Finite negative coordinates are retained for clipped intermediate scenes; drawing insertion APIs still validate the visible clip against their canvas.
Inheritance
- OfficeDrawingElement
- OfficeDrawingGroup
Constructors
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath) #Creates a clipped nested drawing element.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x System.Double
- y System.Double
- clipPath OfficeIMO.Drawing.OfficeClipPath
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath, OfficeImageFrameTransform? frameTransform) #Creates a clipped nested drawing element with an optional destination-space frame transform.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x System.Double
- y System.Double
- clipPath OfficeIMO.Drawing.OfficeClipPath
- frameTransform OfficeIMO.Drawing.OfficeImageFrameTransform?
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath, Double contentOffsetX, Double contentOffsetY) #Creates a clipped nested drawing with an independent content offset inside the clip rectangle.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x System.Double
- y System.Double
- clipPath OfficeIMO.Drawing.OfficeClipPath
- contentOffsetX System.Double
- contentOffsetY System.Double
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath, Double contentOffsetX, Double contentOffsetY, OfficeImageFrameTransform? frameTransform) #Creates a clipped nested drawing with independent content offset and optional destination-space frame transform.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x System.Double
- y System.Double
- clipPath OfficeIMO.Drawing.OfficeClipPath
- contentOffsetX System.Double
- contentOffsetY System.Double
- frameTransform OfficeIMO.Drawing.OfficeImageFrameTransform?
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Double X { get; } #Group horizontal position inside the parent drawing.
public Double Y { get; } #Group vertical position inside the parent drawing.
public OfficeClipPath ClipPath { get; } #Clipping path in group-local coordinates.
public Double ContentOffsetX { get; } #Horizontal translation applied to nested content after the clip is positioned.
public Double ContentOffsetY { get; } #Vertical translation applied to nested content after the clip is positioned.
public OfficeImageFrameTransform? FrameTransform { get; } #Optional destination-space frame transform applied to the group and its clipping path.
public String? ActualText { get; } #Logical replacement text represented by the group's vector paint, when any.
public Double ActualTextAnchorX { get; } #Horizontal anchor for the logical text in parent drawing coordinates.
public Double ActualTextAnchorY { get; } #Vertical anchor for the logical text in parent drawing coordinates.