PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
If you want to import or export annotations as XFDF, you can use exportAnnotations and importAnnotations of annotationManager.
After the document is loaded, you can import the annotations of XFDF with importAnnotations, and the type of XFDF can be String or File
const annotations = await annotationManager.importAnnotations(xfdf)After the document is loaded, you can export annotations with exportAnnotations as XFDF string.
const xfdfString = await annotationManager.exportAnnotations()