Skip to content

WidgetAnnotation

@scaryterry/pdfium


Defined in: src/core/types.ts:1298

Form widget annotation with field information.

optional alternateName: string

Defined in: src/core/types.ts:1304

Alternate (tooltip) name.


optional author: string

Defined in: src/core/types.ts:1288

Author/title if available.

ExtendedAnnotation.author


readonly bounds: Rect

Defined in: src/core/types.ts:505

The bounding rectangle in page coordinates.

ExtendedAnnotation.bounds


readonly colour: Colour | null

Defined in: src/core/types.ts:507

The annotation colour, or null if not set.

ExtendedAnnotation.colour


optional contents: string

Defined in: src/core/types.ts:1286

Contents/subject text if available.

ExtendedAnnotation.contents


optional creationDate: string

Defined in: src/core/types.ts:1292

Creation date if available.

ExtendedAnnotation.creationDate


fieldFlags: FormFieldFlags

Defined in: src/core/types.ts:1308

Form field flags.


optional fieldName: string

Defined in: src/core/types.ts:1302

Form field name.


fieldType: FormFieldType

Defined in: src/core/types.ts:1300

Form field type.


optional fieldValue: string

Defined in: src/core/types.ts:1306

Current field value.


flags: AnnotationFlags

Defined in: src/core/types.ts:1284

Annotation flags.

ExtendedAnnotation.flags


readonly index: number

Defined in: src/core/types.ts:501

Zero-based index of the annotation on its page.

ExtendedAnnotation.index


optional modificationDate: string

Defined in: src/core/types.ts:1290

Modification date if available.

ExtendedAnnotation.modificationDate


optional options: WidgetOption[]

Defined in: src/core/types.ts:1310

Options for combo/list boxes.


readonly type: AnnotationType

Defined in: src/core/types.ts:503

The annotation subtype.

ExtendedAnnotation.type