OnPageRectProcessed 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 processed page region – a rectangle on the page image which has been already processed.

Syntax

Visual Basic .NET

Sub OnPageRectProcessed( _
  ByVal Page As Page, _
  ByVal RecognitionPassNumber As Integer, _
  ByVal Left As Integer, _
  ByVal Top As Integer, _
  ByVal Right As Integer, _
  ByVal Bottom As Integer _
)
    

C++

HRESULT OnPageRectProcessed(
  IPage* Page,
  int    RecognitionPassNumber
  int    Left,
  int    Top,
  int    Right,
  int    Bottom
);
    

Parameters

Page
[in] This parameter refers to the Page object corresponding to the page which is currently processed.
RecognitionPassNumber
[in] This parameter reports the number of the recognition pass. It may be 0, 1 or 2. Rectangles from different passes may be filled up with different colors.
Left
[in] This parameter reports the coordinate of left border of the processed rectangle.
Top
[in] This parameter reports the coordinate of top border of the processed rectangle.
Right
[in] This parameter reports the coordinate of right border of the processed rectangle.
Bottom
[in] This parameter reports the coordinate of bottom border of the processed rectangle.

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

IBatchEvents

Batch

Project

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.