←Select platform

CreateForm Method

Summary
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
C#
C++/CLI
Java
Python
def CreateForm(self,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 example creates a Form.

C#
using Leadtools; 
using Leadtools.Barcode; 
using Leadtools.Codecs; 
using Leadtools.Forms.Common; 
using Leadtools.Ocr; 
using Leadtools.Forms.Processing; 
using Leadtools.Forms.Recognition; 
using Leadtools.Forms.Recognition.Barcode; 
using Leadtools.Forms.Recognition.Ocr; 
 
/// 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

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

Leadtools.Forms.Recognition Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.