Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDrawingGroup

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
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 required
x double required
y double required
clipPath OfficeIMO.Drawing.OfficeClipPath required
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 required
x double required
y double required
clipPath OfficeIMO.Drawing.OfficeClipPath required
frameTransform OfficeIMO.Drawing.OfficeImageFrameTransform? required
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 required
x double required
y double required
clipPath OfficeIMO.Drawing.OfficeClipPath required
contentOffsetX double required
contentOffsetY double required
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 required
x double required
y double required
clipPath OfficeIMO.Drawing.OfficeClipPath required
contentOffsetX double required
contentOffsetY double required
frameTransform OfficeIMO.Drawing.OfficeImageFrameTransform? required

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