[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.LineAnnotation

Class LineAnnotation

Namespace
GrapeCity.Documents.Pdf.Annotations
Assembly
GcDocs.Pdf.dll

Represents a line annotation, that displays a single straight line on a page. When opened, it displays a pop-up window containing the text of the associated note.

public class LineAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Inheritance
object
LineAnnotation
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

LineAnnotation()

Initializes a new instance of the LineAnnotation class.

public LineAnnotation()

Properties

End

Gets or sets the end point of the line. The coordinates of the point are relative to the upper left corner of the page's media box, with the Y (vertical) coordinates increasing from top to bottom.

Note that if the annotation is associated with more than one page, the media box of the first of those pages is used to calculate the rectangle's location.

public PointF End { get; set; }

Property Value

System.Drawing.PointF

HorizontalTextOffset

Gets or sets the horizontal offset along the annotation line from its midpoint, with a positive value indicating offset to the right and a negative value indicating offset to the left.

public float HorizontalTextOffset { get; set; }

Property Value

float

LeaderLineOffset

Gets or sets a non-negative number representing the length of the leader line offset, which is the amount of empty space between the endpoints of the annotation and the beginning of the leader lines.

public float LeaderLineOffset { get; set; }

Property Value

float

LeaderLinesExtension

Gets or sets a non-negative number representing the length of leader line extensions that extend from the line proper 180 degrees from the leader lines.

public float LeaderLinesExtension { get; set; }

Property Value

float

LeaderLinesLength

Gets or sets the length of leader lines in default user space that extend from each endpoint of the line perpendicular to the line itself. A positive value means that the leader lines appear in the direction that is clockwise when traversing the line from its starting point to its ending point. A negative value indicates the opposite direction.

public float LeaderLinesLength { get; set; }

Property Value

float

LineDashPattern

Gets or sets the line dash pattern. Null means a solid line.

public float[] LineDashPattern { get; set; }

Property Value

float[]

LineEndingsFillColor

Gets or sets the interior color with which to fill the annotation’s line endings.

public Color LineEndingsFillColor { get; set; }

Property Value

System.Drawing.Color

LineEndStyle

Gets or sets the style of line end.

public LineEndingStyle LineEndStyle { get; set; }

Property Value

LineEndingStyle

LineStartStyle

Gets or sets the style of line start.

public LineEndingStyle LineStartStyle { get; set; }

Property Value

LineEndingStyle

LineWidth

Gets or sets the line width in points.

public float LineWidth { get; set; }

Property Value

float

PdfEnd

Gets or sets the end point of the line annotation in PDF user space coordinates. The coordinates of the point are in PDF user space coordinates. The positive X axis extends horizontally to the right, and the positive Y axis extends vertically upward, with the origin usually in the lower left corner of the page.

public PointF PdfEnd { get; set; }

Property Value

System.Drawing.PointF

PdfStart

Gets or sets the start point of the line annotation in PDF user space coordinates. The positive X axis extends horizontally to the right, and the positive Y axis extends vertically upward, with the origin usually in the lower left corner of the page.

public PointF PdfStart { get; set; }

Property Value

System.Drawing.PointF

Start

Gets or sets the start point of the line annotation. The coordinates of the point are relative to the upper left corner of the page's media box, with the Y (vertical) coordinates increasing from top to bottom.

Note that if the annotation is associated with more than one page, the media box of the first of those pages is used to calculate the rectangle's location.

public PointF Start { get; set; }

Property Value

System.Drawing.PointF

TextPosition

Gets or sets the annotation's text positioning.

public LineAnnotationTextPosition TextPosition { get; set; }

Property Value

LineAnnotationTextPosition

VerticalTextOffset

Gets or sets the vertical offset perpendicular to the annotation line, with a positive value indicating a shift up and a negative value indicating a shift down.

public float VerticalTextOffset { get; set; }

Property Value

float