The AddMasterForm(FormRecognitionAttributes,FormPages,RasterImage) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- attributes
- Master Form recognition attributes.
- fields
- Master Form processing fields.
- form
- Master Form image.
Visual Basic (Declaration) | |
---|---|
Overloads Public Overridable Function AddMasterForm( _ ByVal attributes As FormRecognitionAttributes, _ ByVal fields As FormPages, _ ByVal form As RasterImage _ ) As IMasterForm |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DiskMasterFormsCategory Dim attributes As FormRecognitionAttributes Dim fields As FormPages Dim form As RasterImage Dim value As IMasterForm value = instance.AddMasterForm(attributes, fields, form) |
C# | |
---|---|
public virtual IMasterForm AddMasterForm( FormRecognitionAttributes attributes, FormPages fields, RasterImage form ) |
C++/CLI | |
---|---|
public: virtual IMasterForm^ AddMasterForm( FormRecognitionAttributes^ attributes, FormPages^ fields, RasterImage^ form ) |
Parameters
- attributes
- Master Form recognition attributes.
- fields
- Master Form processing fields.
- form
- Master Form image.
Return Value
Returns the created IMasterForm object.The source code of 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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7