AddRect Method of the Region Object
This method adds an area to the region.
Syntax
C++
HRESULT AddRect( int Left, int Top, int Right, int Bottom );
C#
void AddRect( int Left, int Top, int Right, int Bottom );
Visual Basic .NET
Sub AddRect( _ Left As Integer, _ Top As Integer, _ Right As Integer, _ Bottom As Integer _ )
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
17.09.2024 15:14:41