- form
- The recognized Form image.
- pageRequestCallback
- Page request callback if more form images are needed.
- userData
- The user defined data that is associated with __Delegates.PageRequestCallback.
- masterAttributes
- The Master Form attributes of the form type.
- formFields
- The fields to be processed for the Master Form of the form type.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub ProcessForm( _ ByVal form As RasterImage, _ ByVal pageRequestCallback As PageRequestCallback, _ ByVal userData As Object, _ ByVal masterAttributes As FormRecognitionAttributes, _ ByVal formFields As FormPages _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void ProcessForm( RasterImage form, PageRequestCallback pageRequestCallback, object userData, FormRecognitionAttributes masterAttributes, FormPages formFields ) |
C++/CLI | |
---|---|
public: void ProcessForm( RasterImage form, PageRequestCallback^ pageRequestCallback, Object^ userData, FormRecognitionAttributes masterAttributes, FormPages formFields ) |
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 __Delegates.PageRequestCallback.
- masterAttributes
- The Master Form attributes of the form type.
- formFields
- The fields to be processed for the Master Form of the form type.
Visual Basic | Copy Code |
---|---|
Private Sub MyProgressEvent(ByVal sender As Object, ByVal e As AutoFormsProgressEventArgs) |
C# | Copy Code |
---|---|
public void MyProgressEvent(object sender, AutoFormsProgressEventArgs e) |
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family