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 exportPDF and importAnnotations.
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 annotationManager = await docViewer.importAnnotations(xfdf)After the document is loaded, you can export annotations with exportPDF as XFDF string.
const xfdfString = await docViewer.exportXfdf()