Some test text!

menu
search

Import annotations

Only available with the Full API

To import XFDF into FDF, then merge data from FDF into PDF

// Import annotations from XFDF to FDF
const fdf_doc = await PDFNet.FDFDoc.createFromXFDF(xfdf_filename);
const fdf_buf = await fdf_doc.saveMemoryBuffer();
saveAs(new Blob([fdf_buf], {type: 'text/plain'}), output_fdf_filename);

// Merge FDF data into PDF doc
const doc = await PDFNet.PDFDoc.createFromURL(filename);
doc.fdfUpdate(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

close

Free Trial

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.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close