PDFView4NET WinForms Edition


O2S.Components.PDFView4NET.Forms Namespace > PDFForm Class > ImportData Method : ImportData(String,PDFFormDataFormat) Method
The file from which to import form data.
The format of input file.
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
ExceptionDescription
thrown when the input file can not be open or read.
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