New to Telerik Document ProcessingStart a free 30-day trial

Draws a straight line between two points, optionally with arrowhead endings and configurable thickness/color.

Definition

Methods

Recalculates the annotation AnnotationContentSource content based on annotations text properties and dynamic appearance characteristics if there are such.

C#
public override void RecalculateContent()

Overrides: ContentAnnotationBase.RecalculateContent()

Properties

End

Point

Gets or sets the end point in page user units.

C#
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.

Gets or sets the decoration drawn at the end point (e.g., None, OpenArrow).

C#
public LineEndingType EndLineEndingType { get; set; }
Property Value:

The line end ending type.

Start

Point

Gets or sets the start point in page user units.

C#
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.

Gets or sets the decoration drawn at the start point (e.g., None, OpenArrow).

C#
public LineEndingType StartLineEndingType { get; set; }
Property Value:

The line start ending type.

Returns the line annotation type.

C#
public override AnnotationType Type { get; }
Property Value:

The annotation type for lines.

Overrides: Annotation.Type