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

CreateForm Method

Example 





A structure which specifies the form options.
Creates a new form, with the specified options, for use in recognition It returns a FormRecognitionEngine object that you can use for creating any Form.
Syntax
'Declaration
 
Public Function CreateForm( _
   ByVal formOptions As FormRecognitionOptions _
) As FormRecognitionAttributes
'Usage
 
Dim instance As FormRecognitionEngine
Dim formOptions As FormRecognitionOptions
Dim value As FormRecognitionAttributes
 
value = instance.CreateForm(formOptions)
 function Leadtools.Forms.Recognition.FormRecognitionEngine.CreateForm( 
   formOptions 
)

Parameters

formOptions
A structure which specifies the form options.
Remarks
This methods is used to create form attributes to the Forms (filled form), the attributes that are generated using this method cannot be used as a Master Form attributes.
Example
 
''' This method creates a form attributes object for recognition.
Public Function CreateForm(ByVal recognitionEngine As FormRecognitionEngine) As FormRecognitionAttributes
   Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateForm(Nothing)
   recognitionEngine.CloseForm(attributes)
   Return attributes
End Function
/// This method creates a form attributes for recognition.
public FormRecognitionAttributes CreateForm(FormRecognitionEngine recognitionEngine)
{
   FormRecognitionAttributes attributes = recognitionEngine.CreateForm(null);
   recognitionEngine.CloseForm(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