Class
ShapeAnchorBase

Base class for inline anchors that contain floating shapes with absolute positioning, text wrapping, and layout configuration.

Definition

Properties

AllowOverlap

Gets or sets whether this shape can overlap other floating shapes.

Declaration

cs-api-definition
public bool AllowOverlap { get; set; }

Property Value

bool

The allow overlap value.

HorizontalPosition

Gets or sets the horizontal positioning configuration defining the shape's placement along the horizontal axis.

Declaration

cs-api-definition
public HorizontalPosition HorizontalPosition { get; set; }

Property Value

HorizontalPosition

The horizontal position.

IsBehindDocument

Gets or sets whether the shape is displayed behind text content (true) or in front of it (false).

Declaration

cs-api-definition
public bool IsBehindDocument { get; set; }

Property Value

bool

The is behind document.

IsLocked

Gets or sets whether the anchor's position and properties are locked against modification.

Declaration

cs-api-definition
public bool IsLocked { get; set; }

Property Value

bool

The value indicating if the anchor can be modified at runtime..

LayoutInCell

Gets or sets whether the shape's layout is calculated relative to the containing table cell when positioned inside a table.

Declaration

cs-api-definition
public bool LayoutInCell { get; set; }

Property Value

bool

True if the layout of the shape should be calculated relative to the cell that is holding the shape.

Margin

Gets or sets the spacing around the shape that separates it from surrounding text.

Declaration

cs-api-definition
public Padding Margin { get; set; }

Property Value

Padding

The margin.

VerticalPosition

Gets or sets the vertical positioning configuration defining the shape's placement along the vertical axis.

Declaration

cs-api-definition
public VerticalPosition VerticalPosition { get; set; }

Property Value

VerticalPosition

The vertical position.

Wrapping

Gets or sets how text wraps around the shape (square, tight, through, top and bottom, none).

Declaration

cs-api-definition
public ShapeWrapping Wrapping { get; set; }

Property Value

ShapeWrapping

The wrapping.

ZIndex

Gets or sets the stacking order of the shape; higher values appear above lower values.

Declaration

cs-api-definition
public int ZIndex { get; set; }

Property Value

int

The Z index of the shape.

Methods

ClonePropertiesFrom(ShapeAnchorBase)

Creates deep copy of the element properties of the fromShapeAnchor and sets them to this instance.

Declaration

cs-api-definition
protected void ClonePropertiesFrom(ShapeAnchorBase fromShapeAnchor)

Parameters

fromShapeAnchor

ShapeAnchorBase

The shape anchor to clone property elements from.