ImportXml

ImportXml(Stream, bool)

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

public void ImportXml(Stream inputXmlStream, bool IgnoreFormTemplateChanges)
Parameter Type Description
inputXmlStream Stream The input xml stream.
IgnoreFormTemplateChanges Boolean If this parameter is true then all changes of the XFA form template will not be saved

See Also


ImportXml(Stream)

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

public void ImportXml(Stream inputXmlStream)
Parameter Type Description
inputXmlStream Stream Stream from which XML for import is read.

Examples

Form form = new Form("PdfForm.pdf", "Form_Imported.pdf");
FileStream fs = new FileStream(TestSettings.GetInputFile("import.xml"), FileMode.Open, FileAccess.Read);
form.ImportXml(fs);
form.Save();

See Also