ClassLineAnnotation
Draws a straight line between two points, optionally with arrowhead endings and configurable thickness/color.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class LineAnnotation : MarkupAnnotation, IFixedDocumentElement, IStructuralElement
Inheritance: objectFixedDocumentElementBaseAnnotationContentAnnotationBaseContentAnnotationMarkupAnnotationLineAnnotation
Implements:
Inherited Members
Properties
End
Gets or sets the end point in page user units.
Declaration
public Point End { get; set; }
Property Value
The coordinates where the line ends.
Remarks
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
EndLineEndingType
Gets or sets the decoration drawn at the end point (e.g., None, OpenArrow).
Declaration
public LineEndingType EndLineEndingType { get; set; }
Property Value
The line end ending type.
Start
Gets or sets the start point in page user units.
Declaration
public Point Start { get; set; }
Property Value
The coordinates where the line begins.
Remarks
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
StartLineEndingType
Gets or sets the decoration drawn at the start point (e.g., None, OpenArrow).
Declaration
public LineEndingType StartLineEndingType { get; set; }
Property Value
The line start ending type.
Type
Returns the line annotation type.
Declaration
public override AnnotationType Type { get; }
Property Value
The annotation type for lines.
Overrides
Methods
RecalculateContent()
Recalculates the annotation AnnotationContentSource content based on annotations text properties and dynamic appearance characteristics if there are such.
Declaration
public override void RecalculateContent()
Overrides