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
public FormRecognitionAttributes CreateForm(
FormRecognitionOptions formOptions
)
Public Function CreateForm( _
ByVal formOptions As FormRecognitionOptions _
) As FormRecognitionAttributes
public FormRecognitionAttributes createForm(
FormRecognitionOptions formOptions
);
public:
FormRecognitionAttributes^ CreateForm(
FormRecognitionOptions^ formOptions
)
formOptions
A structure which specifies the form options.
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.
For a complete example on using form recognition and processing, refer to the FormRecognitionEngine example.
This example creates a 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 form attributes for recognition.
public FormRecognitionAttributes CreateForm(FormRecognitionEngine recognitionEngine)
{
FormRecognitionAttributes attributes = recognitionEngine.CreateForm(null);
recognitionEngine.CloseForm(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 form attributes for recognition.
Public Function CreateForm(recognitionEngine As FormRecognitionEngine) As FormRecognitionAttributes
Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateForm(Nothing)
recognitionEngine.CloseForm(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