Initializes a new instance of the Processor class.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As LicenseKeychain, _
ByVal As Boolean _
)
'Usage
Dim formSetFileName As String
Dim licenseKeychain As LicenseKeychain
Dim allowSavingFormSet As Boolean
Dim instance As New Processor(formSetFileName, licenseKeychain, allowSavingFormSet)
public Processor(
string ,
LicenseKeychain ,
bool
)
public: Processor(
string* ,
LicenseKeychain* ,
bool
)
public:
Processor(
String^ ,
LicenseKeychain^ ,
bool
)
Parameters
- formSetFileName
-
The path to a form set file that this
processor object will load and use for
determining how to identify forms
and process fields.
- licenseKeychain
- A LicenseKeychain object that holds the unlock codes that will be used to unlock Accusoft's form processing components, which are created by the Processor.
- allowSavingFormSet
-
Indicates whether the Processor should attempt to save cached analysis data
the form set file.
Exceptions
Exception | Description |
System.ArgumentNullException | Thrown if the formSetFileName or licenseKeychain parmeter is null. |
System.FormatException | Thrown if the Identification property of the FormSet, loaded from the file formSetFileName, contains Content that is not
valid for the Type. For example, the Type is FormFix/Identification and the Content cannot be
read by a FormFix IdentificationProcessor's ReadFromStream method. |
Accusoft.FormDirectorSdk.InvalidFilenameException | Thrown if the formSetFileName does not point to a valid file. |
Accusoft.FormDirectorSdk.InvalidFileFormatException | Thrown if the formSetFileName points to a file that is corrupt or cannot be loaded as a form set file. |
See Also