OnPageProgress Method of the IBatchEvents Interface
This method is implemented on the client side. It is called by ABBYY FlexiCapture SDK for some of the methods of the Project and Batch objects. It delivers to the client information about approximate percentage of the current operation of page processing (Document Definitions matching, recognition, or export). Its implementation may show a progress indicator.
Syntax
Visual Basic .NET
Sub OnPageProgress( _ ByVal Page As Page, _ ByVal Percentage As Integer _ )
C++
HRESULT OnPageProgress(
IPage* Page,
int Percentage
);
Parameters
- Page
- [in] This parameter refers to the Page object corresponding to the page which is currently processed.
- Percentage
- [in] This parameter contains the percent of the work currently done. It is in the range from 0 to 100.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
Remarks
A client implementation of this method must assure that all exceptions thrown inside the method are caught and handled and no exceptions are propagated outside the method. Propagation of an exception outside the method may lead to unpredictable results (such as program termination).
See also
8/15/2023 1:19:30 PM