Some test text!

menu
Import annotationskeyboard_arrow_down

Import annotations in Ruby

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

# Import annotations from XFDF to FDF
fdf_doc = FDFDoc.CreateFromXFDF(xfdf_filename)

# Optionally read XFDF from a string
fdf_doc = FDFDoc.CreateFromXFDF(xfdf_string)

# Merge FDF data into PDF doc
doc = PDFDoc.new(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

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 upcoming webinar to learn about how to collaborate on videos frame by frame directly in your browser

Save your seat
close