ExportData(String,PDFFormDataFormat,PDFExportDataOptions,String) Method
Exports the form data to a file.
Syntax
'Declaration Public Overloads Sub ExportData( _ ByVal fileName As String, _ ByVal format As PDFFormDataFormat, _ ByVal options As PDFExportDataOptions, _ ByVal pdfFileName As String _ )
'Usage Dim instance As PDFForm Dim fileName As String Dim format As PDFFormDataFormat Dim options As PDFExportDataOptions Dim pdfFileName As String instance.ExportData(fileName, format, options, pdfFileName)
public void ExportData( string fileName, PDFFormDataFormat format, PDFExportDataOptions options, string pdfFileName )
Parameters
- fileName
- The full path to the file where form data will be exported.
- format
- The format of exported data.
- options
- Options for specifying the type of data to be exported.
- pdfFileName
- The name of the PDF file the data is exported from.
Remarks
The name of the source PDF file is required because the data files (both FDF and XFDF) need a reference to the PDF file from which they were exported. This file name does not need to match the actual file name used for saving the PDF document.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also