Class ShapeAnchorBase
Base class for inline anchors that contain floating shapes with absolute positioning, text wrapping, and layout configuration.
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Shapes
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public abstract class ShapeAnchorBase : InlineBase
Properties
AllowOverlap
Gets or sets whether this shape can overlap other floating shapes.
Declaration
public bool AllowOverlap { get; set; }
Property Value
|
System.Boolean
The allow overlap value. |
HorizontalPosition
Gets or sets the horizontal positioning configuration defining the shape's placement along the horizontal axis.
Declaration
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
public bool IsBehindDocument { get; set; }
Property Value
|
System.Boolean
The is behind document. |
IsLocked
Gets or sets whether the anchor's position and properties are locked against modification.
Declaration
public bool IsLocked { get; set; }
Property Value
|
System.Boolean
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
public bool LayoutInCell { get; set; }
Property Value
|
System.Boolean
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
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
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
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
public int ZIndex { get; set; }
Property Value
|
System.Int32
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
protected void ClonePropertiesFrom(ShapeAnchorBase fromShapeAnchor)
Parameters
|
ShapeAnchorBase
fromShapeAnchor
The shape anchor to clone property elements from. |