ImportXfdf

Form.ImportXfdf method

Imports the content of the fields from the xfdf(xml) file and put them into the new pdf.

public void ImportXfdf(Stream inputXfdfStream)
Parameter Type Description
inputXfdfStream Stream The input xfdf(xml) stream.

Examples

Form form = new Form("PdfForm.pdf", "Form_ImportXfdf.pdf");
Stream fs = new FileStream("export_old.xfdf", FileMode.Open, FileAccess.Read);
form.ImportXfdf(fs);
fs.Close();
form.Save();

See Also