AddRect Method of the Region Object
This method adds an area to the region.
Syntax
Visual Basic .NET
Sub AddRect( _ left As Integer, _ top As Integer, _ right As Integer, _ bottom As Integer _ )
C++
HRESULT AddRect( int left, int top, int right, int bottom );
Parameters
- left
- [in] Specifies coordinate of the left border of the area.
- top
- [in] Specifies coordinate of the top border of the area.
- right
- [in] Specifies coordinate of the right border of the area.
- bottom
- [in] 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 FlexiCapture SDK functions.
Remarks
We recommend you to add rectangles of the region in top to bottom order, because if a rectangle is inserted between the existing ones, it may change the region structure unpredictably.
See also
15.08.2023 13:19:30