Some test text!

menu
Import form data into PDFkeyboard_arrow_down

Merge Form Data File (FDF) to PDF Forms on iOS

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

// Import annotations from XFDF to FDF
PTFDFDoc *fdf_doc = [PTFDFDoc CreateFromXFDF: xfdf_filename];

// Optionally read XFDF from a string
PTFDFDoc *fdf_doc = [PTFDFDoc CreateFromXFDF: xfdf_string];

// Merge FDF data into PDF doc
PTPDFDoc *doc = [[PTPDFDoc alloc] initWithFilepath: filename];
[doc FDFMerge: fdf_doc];
Disable annotation auto-save
Document changes by default will automatically save to the PDF. Set PTDocumentViewController::automaticallySavesDocument to false to disable auto-save.

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.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close