FormDataConverter Class
Represents a class to convert data from one format to another format. It can convert the data in fdf/xml/pdf/xfdf to the OLEDB/OdbcDB. It also can convert the data in the OLEDB/OdbcDB to the data in fdf/xml/xfdf. It can convert the fdf to the xml with "hard-named" tag.
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.FacadesFormDataConverter

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.12
Syntax
public sealed class FormDataConverter

The FormDataConverter type exposes the following members.

Constructors
  NameDescription
Public methodFormDataConverter
Initializes a new instance of the FormDataConverter class
Properties
  NameDescription
Public propertyClearTableBeforeExport
ExportFromData will clear table before data export.
Public propertyCreateMissingField
ConvertToDataTable will create required field if it does not exists in Table.
Public propertyCreateMissingTable
ImportIntoDatabase will create table if it does not exists.
Public propertyReplaceExistingTable
ImportIntoDatabase will drop existing table and create new table if this property set to true.
Public propertyTable
Gets or sets the middle data container, one DataTable. It must be defined before converting data from one format to another format. The Columns and TableName of the DataTable should be defined. The TableName is the name of the Table in the database. Every column's ColumnName is the qualified field name of the pdf. Every column's Caption is the column name of table in the database. If the field name is the same as the table column name, the Caption need not specified.
Methods
  NameDescription
Public methodStatic memberCode exampleConvertFdfToXml
Convert FDF file into XML.
Public methodConverToStreams
This method is obsolete. Please use ConvertToStreams() instead.
Public methodCode exampleConvertToDataTable
Convert files of strems into table.
Public methodCode exampleConvertToStreams
Convert data in table into streams.
Public methodStatic memberConvertXmlToFdf
Convert XML import/export form data file into FDF format.
Public methodEquals (Inherited from Object.)
Public methodCode exampleExportFromDataBase
Exports data from database into table.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleImportIntoDataBase
Imports data from table into database.
Public methodToString (Inherited from Object.)
See Also