ImportData(String,PDFFormDataFormat) Method
Imports form data from an external file.
Syntax
'Declaration Public Overloads Sub ImportData( _ ByVal fileName As String, _ ByVal dataFormat As PDFFormDataFormat _ )
'Usage Dim instance As PDFForm Dim fileName As String Dim dataFormat As PDFFormDataFormat instance.ImportData(fileName, dataFormat)
public void ImportData( string fileName, PDFFormDataFormat dataFormat )
Parameters
- fileName
- The file from which to import form data.
- dataFormat
- The format of input file.
Exceptions
| Exception | Description |
|---|---|
| O2S.Components.PDFView4NET.PDFException | thrown when the input file can not be open or read. |
| O2S.Components.PDFEngine.PDFObjects.PDFParserException | thrown when the input file can not be parsed. |
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also