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

CreateMasterForm Method

Example 





The name of the Master Form.
The Master Form's ID.
The options for the Master Form.
Creates a new Master Form attribute object with the specified options.
Syntax
'Declaration
 
Public Function CreateMasterForm( _
   ByVal formName As String, _
   ByVal formGuid As Guid, _
   ByVal formOptions As FormRecognitionOptions _
) As FormRecognitionAttributes
'Usage
 
Dim instance As FormRecognitionEngine
Dim formName As String
Dim formGuid As Guid
Dim formOptions As FormRecognitionOptions
Dim value As FormRecognitionAttributes
 
value = instance.CreateMasterForm(formName, formGuid, formOptions)
 function Leadtools.Forms.Recognition.FormRecognitionEngine.CreateMasterForm( 
   formName ,
   formGuid ,
   formOptions 
)

Parameters

formName
The name of the Master Form.
formGuid
The Master Form's ID.
formOptions
The options for the Master Form.
Remarks
This method returns a FormRecognitionEngine object that you can use when creating a Master Form (unfilled form). This method can only be used to create form attributes for a Master Form (unfilled form).
Example
 
''' This method creates a Master Form recognition attributes object.
  Public Function CreateMasterForm(ByVal recognitionEngine As FormRecognitionEngine, _
                                   ByVal name As String) As FormRecognitionAttributes
      Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateMasterForm(name, _
                                                                                       Guid.Empty, _
                                                                                       Nothing)
      recognitionEngine.CloseMasterForm(attributes)
      Return attributes
  End Function
/// This method creates a Master Form recognition attributes.
public FormRecognitionAttributes CreateMasterForm(FormRecognitionEngine recognitionEngine, string name)
{
   FormRecognitionAttributes attributes = recognitionEngine.CreateMasterForm(name, Guid.Empty, null);
   recognitionEngine.CloseMasterForm(attributes);
   return attributes;
}
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

FormRecognitionEngine Class
FormRecognitionEngine Members

 

 


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