- 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.
- formResult
- The form recognition result that has been returned by RecognizeForm.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function ProcessForm( _ ByVal form As RasterImage, _ ByVal pageRequestCallback As PageRequestCallback, _ ByVal userData As Object, _ ByVal formResult As AutoFormsRecognizeFormResult _ ) As FormPages |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public FormPages ProcessForm( RasterImage form, PageRequestCallback pageRequestCallback, object userData, AutoFormsRecognizeFormResult formResult ) |
C++/CLI | |
---|---|
public: FormPages ProcessForm( RasterImage form, PageRequestCallback^ pageRequestCallback, Object^ userData, AutoFormsRecognizeFormResult^ formResult ) |
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.
- formResult
- The form recognition result that has been returned by RecognizeForm.
Return Value
The processed fields if the Master Form has fields, otherwise it returns null.
Visual Basic | Copy Code |
---|---|
Public Sub AutoFormRecognitionAndProcessing2() |
C# | Copy Code |
---|---|
public void AutoFormRecognitionAndProcessing2() |
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family