Class DataFormat
Specifies the format of Export or Import data.
Inheritance
System.Object
DataFormat
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public sealed class DataFormat : Enum
Examples
//Load an existing document
PdfLoadedDocument ldoc = new PdfLoadedDocument("SourceForm.pdf");
// Load the existing form
PdfLoadedForm form = ldoc.Form;
// Export the form data as XML file
form.ExportData("Export.xml", DataFormat.Xml, "SourceForm.pdf");
'Load an existing document
Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf")
' Load the existing form
Dim form As PdfLoadedForm = ldoc.Form
' Export the form data as XML file
form.ExportData("Export.xml", DataFormat.Xml, "SourceForm.pdf")
Fields
Fdf
Specifies Forms Data Format file format
Declaration
public const DataFormat Fdf
Field Value
Type |
---|
DataFormat |
Json
Specifies JSON file format.
Declaration
public const DataFormat Json
Field Value
Type |
---|
DataFormat |
XFdf
Specifies XFDF file format.
Declaration
public const DataFormat XFdf
Field Value
Type |
---|
DataFormat |
Xml
Specifies XML file format
Declaration
public const DataFormat Xml
Field Value
Type |
---|
DataFormat |