←Select platform

CreateMasterForm Method

Summary
Creates a new Master Form attribute object with the specified options.

Syntax
C#
C++/CLI
Java
Python
public FormRecognitionAttributes createMasterForm( 
   java.lang.String formName, 
   java.util.UUID formGuid, 
   FormRecognitionOptions formOptions 
); 
public: 
FormRecognitionAttributes^ CreateMasterForm(  
   String^ formName, 
   Guid formGuid, 
   FormRecognitionOptions^ formOptions 
)  
def CreateMasterForm(self,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 example creates a Master 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 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

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.