←Select platform

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++
Java
  
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.