AddRect Method of the Region Object

This method adds an area to the region.

Syntax

HRESULT AddRect(
  int Left,
  int Top,
  int Right,
  int Bottom
);
    

Parameters

Left
[in] This parameter specifies coordinate of the left border of the area.
Top
[in] This parameter specifies coordinate of the top border of the area.
Right
[in] This parameter specifies coordinate of the right border of the area.
Bottom
[in] This parameter specifies coordinate of the bottom border of the area.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

We recommend that you add rectangles of the region in top to bottom (or left to right) order, because if a rectangle is inserted between the existing ones, it may change the region structure unpredictably.

See also

Region

03.07.2024 8:50:25

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.