LEADTOOLS Forms (Leadtools.Forms.Auto assembly)
LEAD Technologies, Inc

AddMasterForm(FormRecognitionAttributes,FormPages,RasterImage) Method






Master Form recognition attributes.
Master Form processing fields.
Master Form image.
Adds a new Master Form to this category on the local disk and in MasterForms.
Syntax
public virtual IMasterForm AddMasterForm( 
   FormRecognitionAttributes attributes,
   FormPages fields,
   RasterImage form
)
'Declaration
 
Public Overloads Overridable Function AddMasterForm( _
   ByVal attributes As FormRecognitionAttributes, _
   ByVal fields As FormPages, _
   ByVal form As RasterImage _
) As IMasterForm
'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)
public virtual IMasterForm AddMasterForm( 
   FormRecognitionAttributes attributes,
   FormPages fields,
   RasterImage form
)
 function Leadtools.Forms.Auto.DiskMasterFormsCategory.AddMasterForm(FormRecognitionAttributes,FormPages,RasterImage)( 
   attributes ,
   fields ,
   form 
)
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.
Remarks

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.

Example
For an example, refer to GenerateMasterFormAttributes.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DiskMasterFormsCategory Class
DiskMasterFormsCategory Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features