Form.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)
ParameterTypeDescription
inputXmlStreamStreamThe input xml stream.
IgnoreFormTemplateChangesBooleanIf 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)
ParameterTypeDescription
inputXmlStreamStreamStream 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