Performs field processing on the form image.
public void Process(
RasterImage form,
IList<PageAlignment> formAlignment
)
form
Form image.
formAlignment
A value that indicates the Form Alignment. It aligns the Master Form's fields to this form field. If it is null the fields will be aligned depending on the image resolution.
For a complete example on using the forms recognition and processing, refer to the FormProcessingEngine example.
This example processes 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 processes the recognized form.
private void ProcessForm(FormProcessingEngine processingEngine, MyForm form)
{
form.ProcessingPages = form.Master.ProcessingPages;
processingEngine.Pages.Clear();
processingEngine.Pages.AddRange(form.ProcessingPages);
processingEngine.Process(form.Image, form.Alignment);
}