LineAnnotation
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
Methods
Recalculates the annotation AnnotationContentSource content based on annotations text properties and dynamic appearance characteristics if there are such.
public override void RecalculateContent()
Overrides:
Properties
End
Point
Gets or sets the end point in page user units.
public Point End { get; set; }
The coordinates where the line ends.
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Gets or sets the decoration drawn at the end point (e.g., None, OpenArrow).
public LineEndingType EndLineEndingType { get; set; }
The line end ending type.
Start
Point
Gets or sets the start point in page user units.
public Point Start { get; set; }
The coordinates where the line begins.
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Gets or sets the decoration drawn at the start point (e.g., None, OpenArrow).
public LineEndingType StartLineEndingType { get; set; }
The line start ending type.
Returns the line annotation type.
public override AnnotationType Type { get; }
The annotation type for lines.
Overrides: