Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeDrawingGroup

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

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

Constructors

OfficeDrawingGroup 4 overloads
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath) #

Creates a clipped nested drawing element.

Parameters

drawing OfficeIMO.Drawing.OfficeDrawing requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
clipPath OfficeIMO.Drawing.OfficeClipPath requiredposition: 3
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath, Nullable<OfficeImageFrameTransform> frameTransform) #

Creates a clipped nested drawing element with an optional destination-space frame transform.

Parameters

drawing OfficeIMO.Drawing.OfficeDrawing requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
clipPath OfficeIMO.Drawing.OfficeClipPath requiredposition: 3
frameTransform System.Nullable{OfficeIMO.Drawing.OfficeImageFrameTransform} requiredposition: 4
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 requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
clipPath OfficeIMO.Drawing.OfficeClipPath requiredposition: 3
contentOffsetX System.Double requiredposition: 4
contentOffsetY System.Double requiredposition: 5
public OfficeDrawingGroup(OfficeDrawing drawing, Double x, Double y, OfficeClipPath clipPath, Double contentOffsetX, Double contentOffsetY, Nullable<OfficeImageFrameTransform> frameTransform) #

Creates a clipped nested drawing with independent content offset and optional destination-space frame transform.

Parameters

drawing OfficeIMO.Drawing.OfficeDrawing requiredposition: 0
x System.Double requiredposition: 1
y System.Double requiredposition: 2
clipPath OfficeIMO.Drawing.OfficeClipPath requiredposition: 3
contentOffsetX System.Double requiredposition: 4
contentOffsetY System.Double requiredposition: 5
frameTransform System.Nullable{OfficeIMO.Drawing.OfficeImageFrameTransform} requiredposition: 6

Properties

public OfficeDrawing Drawing { get; } #

Detached nested drawing content.

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 Nullable<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.