AddMasterForm(FormRecognitionAttributes,FormPages,RasterImage) Method

Summary

Adds a new Master Form to this category on the local disk and in MasterForms.

Syntax
C#
VB
C++
  
Public Function AddMasterForm( _ 
   ByVal attributes As FormRecognitionAttributes, _ 
   ByVal fields As FormPages, _ 
   ByVal form As RasterImage _ 
) As IMasterForm 

Parameters

attributes
Master Form recognition attributes.

fields
Master Form processing fields.

form
Master Form image.

Return Value

Returns the created IMasterForm object.

Remarks

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.

Example

For an example, refer to GenerateMasterFormAttributes.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly