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
7/3/2024 8:50:25 AM