PdfLineAnnotation Class

A line annotation (ISO 32000-2, 12.5.6.7): a straight line, with endings such as arrows, and leader lines for dimensions.

public sealed class PdfLineAnnotation : PdfMarkupAnnotation
Inheritance
PdfMarkupAnnotation PdfLineAnnotation

Properties

NameDescription
EndGets or sets the end of the line (the second point of /L), in default user space.
EndEndingGets or sets the ending of the line at PdfLineAnnotation.End (/LE).
InteriorColorGets or sets the color that fills the closed endings (/IC), or null.
LeaderLineExtensionGets or sets the length of the extensions of the leader lines beyond the line (/LLE).
LeaderLineLengthGets or sets the length of the leader lines (/LL), perpendicular to the line at its ends; 0, the default, for none. A negative length draws them below the line.
ShowCaptionGets or sets a value indicating whether the text of the annotation is shown as a caption of the line (/Cap).
StartGets or sets the start of the line (the first point of /L), in default user space.
StartEndingGets or sets the ending of the line at PdfLineAnnotation.Start (/LE).

Gets or sets the end of the line (the second point of /L), in default user space.

public PdfPoint End { get; set; }

Property value

PdfPoint

Gets or sets the ending of the line at PdfLineAnnotation.End (/LE).

public PdfLineEnding EndEnding { get; set; }

Property value

PdfLineEnding

Gets or sets the color that fills the closed endings (/IC), or null.

public PdfColor? InteriorColor { get; set; }

Property value

PdfColor?

LeaderLineExtension

PdfLineAnnotation.cs

Gets or sets the length of the extensions of the leader lines beyond the line (/LLE).

public double LeaderLineExtension { get; set; }

Property value

double

LeaderLineLength

PdfLineAnnotation.cs

Gets or sets the length of the leader lines (/LL), perpendicular to the line at its ends; 0, the default, for none. A negative length draws them below the line.

public double LeaderLineLength { get; set; }

Property value

double

Gets or sets a value indicating whether the text of the annotation is shown as a caption of the line (/Cap).

public bool ShowCaption { get; set; }

Property value

bool

Gets or sets the start of the line (the first point of /L), in default user space.

public PdfPoint Start { get; set; }

Property value

PdfPoint

Gets or sets the ending of the line at PdfLineAnnotation.Start (/LE).

public PdfLineEnding StartEnding { get; set; }

Property value

PdfLineEnding