[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.InkAnnotation

Class InkAnnotation

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 InkAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Inheritance
object
InkAnnotation
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

InkAnnotation()

Initializes a new instance of the InkAnnotation class.

public InkAnnotation()

Properties

LineDashPattern

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

public float[] LineDashPattern { get; set; }

Property Value

float[]

LineWidth

Gets or sets the line width in points.

public float LineWidth { get; set; }

Property Value

float

Paths

Gets or sets the list of lists of points, in which each list of points represents a stroked path. The coordinates of points 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 coordinates.

public IReadOnlyList<IReadOnlyList<PointF>> Paths { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<T><System.Collections.Generic.IReadOnlyList<T><System.Drawing.PointF>>

PdfPaths

Gets or sets the list of lists of points, in which each list of points represents a stroked path 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 IReadOnlyList<IReadOnlyList<PointF>> PdfPaths { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<T><System.Collections.Generic.IReadOnlyList<T><System.Drawing.PointF>>