Imports Leadtools
Imports Leadtools.Barcode
Imports Leadtools.Codecs
Imports Leadtools.Forms
Imports Leadtools.Forms.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 object.
Public Function CreateMasterForm(ByVal recognitionEngine As FormRecognitionEngine, _
ByVal name As String) As FormRecognitionAttributes
Dim attributes As FormRecognitionAttributes = recognitionEngine.CreateMasterForm(name, _
Guid.Empty, _
Nothing)
recognitionEngine.CloseMasterForm(attributes)
Return attributes
End Function
using Leadtools;
using Leadtools.Barcode;
using Leadtools.Codecs;
using Leadtools.Forms;
using Leadtools.Forms.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;
}