Class PositionContentElement
Content element that applies explicit positioning and geometric transforms in fixed-document page coordinates; use to place, rotate, scale, or skew visuals precisely on a page.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Common
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public abstract class PositionContentElement : ContentElementBase, IFixedDocumentElement
Remarks
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Constructors
PositionContentElement()
Initialize the element with matrix-based positioning using an identity transformation, ready for page placement and further transforms.
Declaration
public PositionContentElement()
Properties
Position
Gets or sets the position and transformation matrix that defines how this element is positioned and oriented on the page. This includes translation, rotation, scaling, and skewing transformations applied to the element.
Declaration
public IPosition Position { get; set; }
Property Value
|
IPosition
The position object containing transformation information for rendering this element. |
Exceptions
|
System.ArgumentNullException
Thrown when attempting to set a null value. |
Methods
CreateClonedInstance<T>()
Creates a cloned instance of this position content element.
Declaration
protected abstract T CreateClonedInstance<T>()
where T : PositionContentElement
Returns
|
T
The cloned instance of the position content element. |
Type Parameters
|
T
The type of position content element to create. |