FormSuite v6.0 - Updated
Processor Constructor(String,LicenseKeychain)




Accusoft.FormsAPI.Net Assembly > Accusoft.Forms Namespace > Processor Class > Processor Constructor : Processor Constructor(String,LicenseKeychain)
The path to a form set file that this processor object will load and use for determining how to identify forms and process fields.
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.
Initializes a new instance of the Processor class.
Syntax
'Declaration
 
Public Function New( _
   ByVal formSetFileName As String, _
   ByVal licenseKeychain As LicenseKeychain _
)
'Usage
 
Dim formSetFileName As String
Dim licenseKeychain As LicenseKeychain
 
Dim instance As New Processor(formSetFileName, licenseKeychain)

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.
Exceptions
ExceptionDescription
Thrown if the formSetFileName or licenseKeychain parmeter is null.
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.
Thrown if the formSetFileName does not point to a valid file.
Thrown if the formSetFileName points to a file that is corrupt or cannot be loaded as a form set file.
Remarks

This constructor loads a form set from the file specified by formSetFileName. If identification has not been performed against this form set since the last time the forms or template images were modified, then processing a form against this form set will result in analysis data of the form set being generated. This data is cached in memory as long as the Processor object is around.

This object will attempt to save any cached analysis data back to the form set file or corresponding form definition files. Saving this data back to files on disk falls under best practices use of this product, because it prevents this information to have to be re-calculated for other instances of the Processor.

There may be times when the form set file or corresponding form definition files are read-only on disk or should not be modified. For these cases use the overload Processor Constructor(String,LicenseKeychain,Boolean) and specify that saving the form set is not allowed.

See Also

Reference

Processor Class
Processor Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.