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 forms with XFDF, you can use exportPDF and importAnnotations.
After the document is loaded, you can import the forms of XFDF with importFormAnnotations, and the type of XFDF can be String or File
await docViewer.importAnnotations(xfdf)After the document is loaded, you can export forms with exportFomrXfdf as XFDF string.
const xfdfString = await docViewer.exportXfdf()