modern-pdf-lib / buildAnnotationDict
Function: buildAnnotationDict()
buildAnnotationDict(
type,options):PdfDict
Defined in: src/annotation/pdfAnnotation.ts:145
Build an annotation dictionary from options.
Used internally by subclass factory methods to populate common annotation dictionary entries.
Parameters
type
The annotation subtype.
options
Creation options.
Returns
A populated PdfDict.