Some test text!
A documents entire set of annotations can be imported or exported using XFDF with the following guides. To import/export a partial set of annotations, please see annotation sync
To import XFDF into FDF, then merge data from FDF into PDF
// Import annotations from XFDF to FDF FDFDoc fdf_doc = FDFDoc.createFromXFDF(xfdf_filename); fdf_doc.save(output_fdf_filename); // Optionally read XFDF from a string FDFDoc fdf_doc_string = FDFDoc.createFromXFDF(xfdf_string); // Merge FDF data into PDF doc PDFDoc doc = new PDFDoc(filename); doc.fdfMerge(fdf_doc);
PDF Form fill and form data extraction
Full sample code which illustrates basic FDF merge/extract functionality and full support for FDF (Forms Data Format)
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.
Join our live demo to learn about use cases & capabilities for WebViewerLearn more