Skip to content

WidgetAnnotation

@scaryterry/pdfium


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

Form widget annotation with field information.

optional alternateName: string

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

Alternate (tooltip) name.


optional author: string

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

Author/title if available.

ExtendedAnnotation.author


readonly bounds: Rect

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

The bounding rectangle in page coordinates.

ExtendedAnnotation.bounds


readonly colour: Colour | null

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

The annotation colour, or null if not set.

ExtendedAnnotation.colour


optional contents: string

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

Contents/subject text if available.

ExtendedAnnotation.contents


optional creationDate: string

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

Creation date if available.

ExtendedAnnotation.creationDate


fieldFlags: FormFieldFlags

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

Form field flags.


optional fieldName: string

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

Form field name.


fieldType: FormFieldType

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

Form field type.


optional fieldValue: string

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

Current field value.


flags: AnnotationFlags

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

Annotation flags.

ExtendedAnnotation.flags


readonly index: number

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

Zero-based index of the annotation on its page.

ExtendedAnnotation.index


optional modificationDate: string

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

Modification date if available.

ExtendedAnnotation.modificationDate


optional options: WidgetOption[]

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

Options for combo/list boxes.


readonly type: AnnotationType

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

The annotation subtype.

ExtendedAnnotation.type