Skip to content

modern-pdf-lib


modern-pdf-lib / WidgetAnnotationHost

Interface: WidgetAnnotationHost

Defined in: src/form/pdfField.ts:31

Minimal interface for a PDF page that can receive widget annotations. Used by PdfField.addToPage to avoid importing PdfPage directly.

Methods

addWidgetAnnotation()

addWidgetAnnotation(widgetDict): void

Defined in: src/form/pdfField.ts:33

Add a raw widget annotation dictionary to this page.

Parameters

widgetDict

PdfDict

Returns

void

Released under the MIT License.