←Select platform

ProcessForm(RasterImage,PageRequestCallback,object,AutoFormsRecognizeFormResult) Method

Summary

Performs field processing on the recognized form image.

Syntax

C#
VB
C++
  
Public Overloads Function ProcessForm( _ 
   ByVal form As Leadtools.RasterImage, _ 
   ByVal pageRequestCallback As Leadtools.Forms.Auto.PageRequestCallback, _ 
   ByVal userData As Object, _ 
   ByVal formResult As Leadtools.Forms.Auto.AutoFormsRecognizeFormResult _ 
) As Leadtools.Forms.Processing.FormPages 

Parameters

form
The recognized Form image.

pageRequestCallback
Page request callback if more form images are needed.

userData
The user defined data that is associated with PageRequestCallback.

formResult
The form recognition result that has been returned by RecognizeForm(rasterimage,list<imasterformscategory>).

Return Value

The processed fields if the Master Form has fields, otherwise it returns null.

Remarks

This method processes the recognized form fields. The Master Form fields are obtained by calling IMasterForm.ReadFields of the AutoFormsRecognizeFormResult.MasterForm.

If form does not have all form page images, during the processing if more pages are required for processing this method will ask for the required pages one page at a time using the pageRequestCallback. The PageRequestCallbackData.FormPageNumber will have the number of the required page, and the user returns the requested page image through PageRequestCallbackData.Page.

If form has all form pages you can set pageRequestCallback to null.

The form alignment is calculated from the recognition results.

Example

 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly