Creates a new Master Form attribute object with the specified options.
Syntax
public FormRecognitionAttributes CreateMasterForm(
string formName,
Guid formGuid,
FormRecognitionOptions formOptions
)
Public Function CreateMasterForm( _
ByVal formName As String, _
ByVal formGuid As Guid, _
ByVal formOptions As FormRecognitionOptions _
) As FormRecognitionAttributes
public FormRecognitionAttributes createMasterForm(
java.lang.String formName,
java.util.UUID formGuid,
FormRecognitionOptions formOptions
);
public:
FormRecognitionAttributes^ CreateMasterForm(
String^ formName,
Guid formGuid,
FormRecognitionOptions^ formOptions
)
formName
The name of the Master Form.
formGuid
The Master Form's ID.
formOptions
The options for the Master Form.
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).
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example creates a Master Form.
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;
}
Imports Leadtools
Imports Leadtools.Barcode
Imports Leadtools.Codecs
Imports Leadtools.Forms.Common
Imports Leadtools.Ocr
Imports Leadtools.Forms.Processing
Imports Leadtools.Forms.Recognition
Imports Leadtools.Forms.Recognition.Barcode
Imports Leadtools.Forms.Recognition.Ocr
''' This method creates a Master Form recognition attributes.
Public Function CreateMasterForm(recognitionEngine As FormRecognitionEngine, name As String) As FormRecognitionAttributes
Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateMasterForm(name, Guid.Empty, Nothing)
recognitionEngine.CloseMasterForm(attributes)
Return attributes
End Function
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document