IsRectInRegion Method of the Region Object
This method calculates whether the specified rectangle is contained inside the region. It receives coordinates of the rectangle as input parameters.
Syntax
HRESULT IsRectInRegion( int Left, int Top, int Right, int Bottom, VARIANT_BOOL* Result );
Parameters
- Left
- [in] This parameter specifies coordinate of the left border of the rectangle.
- Top
- [in] This parameter specifies coordinate of the top border of the rectangle.
- Right
- [in] This parameter specifies coordinate of the right border of the rectangle.
- Bottom
- [in] This parameter specifies coordinate of the bottom border of the rectangle.
- Result
- [out, retval] This parameter receives the result of calculation. If it is TRUE, the specified rectangle lies inside the region.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
7/3/2024 8:50:25 AM