public IMasterForm AddMasterForm(
Public Function AddMasterForm( _
ByVal attributes As FormRecognitionAttributes, _
ByVal fields As FormPages, _
ByVal form As RasterImage _
) As IMasterForm
Master Form recognition attributes.
Master Form processing fields.
Master Form image.
Returns the created IMasterForm object.
The source code for this interface implementation class is available at <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository. attributes must be provided, if it is null the method will throw an exception.
The added Master Form will have the Leadtools.Forms.Recognition.FormRecognitionProperties.Name of the attributes.
The Master Form files will be stored in Path.
The Master Form attributes file will have the name of the Master Form DiskMasterForm.Name with ".bin" extension. The Master Form fields file will have the name of the Master Form DiskMasterForm.Name with ".xml" extension. The Master Form form file will have the name of the Master Form DiskMasterForm.Name with ".tif" extension. form is stored as a 1-bit black and white tif image.
For an example, refer to GenerateMasterFormAttributes.