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 processes the recognized form.
Public Sub ProcessForm(ByVal processingEngine As FormProcessingEngine, ByVal form As MyForm)
form.ProcessingPages = CType(form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count), FormPages)
processingEngine.Pages.Clear()
processingEngine.Pages.AddRange(form.ProcessingPages)
processingEngine.Process(form.Image, form.Alignment)
End Sub
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 processes the recognized form.
public void ProcessForm(FormProcessingEngine processingEngine, MyForm form)
{
form.ProcessingPages = (FormPages)form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count);
processingEngine.Pages.Clear();
processingEngine.Pages.AddRange(form.ProcessingPages);
processingEngine.Process(form.Image, form.Alignment);
}