HasIntersectionWithRect Method of the Region Object

This method checks if the supplied rectangle has intersection with the current region.

Syntax

Visual Basic .NET

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

C++

HRESULT HasIntersectionWithRect(
  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 has intersection with the current region.
top
[in] Specifies the coordinate of the top border of the rectangle, for which FlexiCapture SDK should check whether it has intersection with the current region.
right
[in] Specifies the coordinate of the right border of the rectangle, for which FlexiCapture SDK should check whether it has intersection with the current region.
bottom
[in] Specifies the coordinate of the bottom border of the rectangle, for which FlexiCapture SDK should check whether it has intersection with 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 has intersection with 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

8/15/2023 1:19:30 PM

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.