AnnotationOptions Interface
Represents options for creating or modifying an annotation.
export declare interface AnnotationOptions
Remarks
This interface defines the properties needed to configure an annotation, including its location, type, appearance, and content.
Fields
pageIndex
Gets the index of the page where this annotation is located.
readonly pageIndex: number;
Remarks
This value represents the zero-based index of the page in the PDF document.
type
Gets or sets the type of this annotation.
readonly type: AnnotationType;
Field Value
Remarks
The annotation type categorizes the annotation (e.g., text, highlight, underline).
name
Gets or sets the name or title of this annotation.
name: string;
Remarks
This is typically a short descriptive label for the annotation.
description
Gets or sets the description or content of this annotation.
description: string;
Remarks
This contains the main text or content associated with the annotation.
height
Gets or sets the height of this annotation in points.
height: number;
Remarks
This value represents the vertical dimension of the annotation on the page.