←Select platform

ProcessForm(RasterImage,PageRequestCallback,object,FormRecognitionAttributes,FormPages) Method

Summary

Performs field processing on the recognized form image.

Syntax

C#
VB
C++
  
Public Overloads Sub ProcessForm( _ 
   ByVal form As Leadtools.RasterImage, _ 
   ByVal pageRequestCallback As Leadtools.Forms.Auto.PageRequestCallback, _ 
   ByVal userData As Object, _ 
   ByVal masterAttributes As Leadtools.Forms.Recognition.FormRecognitionAttributes, _ 
   ByVal formFields 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.

masterAttributes
The Master Form attributes of the form type.

formFields
The fields to be processed for the Master Form of the form type.

Remarks

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 needed page, and the user returns the requested page image through PageRequestCallbackData.Page.

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

This method is useful because it allows you to do the form processing later on or on another machine without the need to recreate the recognition result object

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