IsRectInRegion Method of the Region Object

This method checks if the supplied rectangle is inside the current region.

Syntax

Visual Basic .NET

Function IsRectInRegion( _
  left As Integer, _
  top As Integer, _
  right As Integer, _
  bottom As Integer, _
) As Boolean
    

C++

HRESULT IsRectInRegion(
  int           left,
  int           top,
  int           right,
  int           bottom,
  VARIANT_BOOL* result
);
    

Parameters

left
[in] Specifies the coordinate of the left border of the rectangle, for which FlexiCapture SDK should check whether it is inside the current region.
top
[in] Specifies the coordinate of the top border of the rectangle, for which FlexiCapture SDK should check whether it is inside the current region.
right
[in] Specifies the coordinate of the right border of the rectangle, for which FlexiCapture SDK should check whether it is inside the current region.
bottom
[in] Specifies the coordinate of the bottom border of the rectangle, for which FlexiCapture SDK should check whether it is inside the current region.
result
[out, retval] A pointer to a Boolean variable that receives the result of checking. If the value is TRUE, the supplied rectangle is inside the current region.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Region

15.08.2023 13:19:30

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.