• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class InkAnnotation

An ink (freehand / pencil-mark) annotation (PDF spec §12.5.8). Represents one or more stroked paths drawn freehand by the user. Each ink path is a list of points; multiple paths are stored in the /InkList array.

Inheritance
object
Annotation
MarkupAnnotation
InkAnnotation
Inherited Members
MarkupAnnotation.Title
MarkupAnnotation.Subject
MarkupAnnotation.RichText
MarkupAnnotation.CreationDate
MarkupAnnotation.ReplyType
MarkupAnnotation.Popup
Annotation.Rect
Annotation.Contents
Annotation.Name
Annotation.Modified
Annotation.Flags
Annotation.Color
Annotation.Border
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Annotations
Assembly: DRIT.Pdf.dll
Syntax
public sealed class InkAnnotation : MarkupAnnotation

Properties

InkLists

The collection of ink paths. Each path is a list of points.

Declaration
public IReadOnlyList<IReadOnlyList<PdfPoint>> InkLists { get; }
Property Value
Type Description
IReadOnlyList<IReadOnlyList<PdfPoint>>

Methods

BeginPath(PdfPoint)

Begin a new ink path (subpath) starting at the specified point.

Declaration
public void BeginPath(PdfPoint point)
Parameters
Type Name Description
PdfPoint point

BeginPath(double, double)

Begin a new ink path starting at the specified coordinates.

Declaration
public void BeginPath(double x, double y)
Parameters
Type Name Description
double x
double y

LineTo(PdfPoint)

Add a line segment to the current (last) ink path.

Declaration
public void LineTo(PdfPoint point)
Parameters
Type Name Description
PdfPoint point

LineTo(double, double)

Add a line segment to the current ink path at the specified coordinates.

Declaration
public void LineTo(double x, double y)
Parameters
Type Name Description
double x
double y
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX