Table of Contents

Property Path

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Path

(PDF 2.0) Gets the collection of point arrays that define operands for the operators that build the path of this PdfInkAnnotation.

public PdfInkPathSegmentCollection Path { get; }

Property Value

PdfInkPathSegmentCollection

A PdfInkPathSegmentCollection containing point arrays that define operands for the operators that build the path of this PdfInkAnnotation.

Remarks

Each path is represented as an array of PdfPoint values specifying the coordinates for a path-drawing operation.

The first array shall have a length of 2 and specifies the operand of a moveto operator, which establishes the current point. Subsequent arrays of length 2 specify the operands of lineto operators.

Arrays of length 6 specify the operands of curveto operators.

Each array is processed in sequence to construct the path.

The collection is always available, even if the underlying PDF structures have not yet been created or contain values of incorrect types. In such cases, the collection is empty. Any modifications to the collection automatically create or correct the required low-level PDF structures.

Use the InkList collection to define the appearance of this annotation using the older, pre-PDF 2.0 path-construction model.

According to ISO 32000-2:2020, when this collection defines a path, the path(s) defined in the InkList collection should be ignored. In practice, as of September 2026, popular PDF viewers always rely on the InkList collection.