Chinese Simplified (简体中文)

HasIntersectionWithRect Method of the Region Object

This method calculates whether the region intersects with the specified rectangle. It receives coordinates of the rectangle as input parameters.

Syntax

C++

HRESULT HasIntersectionWithRect(
  int           Left,
  int           Top,
  int           Right,
  int           Bottom,
  VARIANT_BOOL* Result
);
    

C#

bool HasIntersectionWithRect(
  int Left,
  int Top,
  int Right,
  int Bottom
);
    

Visual Basic .NET

Function HasIntersectionWithRect( _
  Left As Integer, _
  Top As Integer, _
  Right As Integer, _
  Bottom As Integer _
) As Boolean
    

Parameters

Left
[in] This parameter specifies coordinate of the left border of the rectangle which is checked for intersection.
Top
[in] This parameter specifies coordinate of the top border of the rectangle which is checked for intersection.
Right
[in] This parameter specifies coordinate of the right border of the rectangle which is checked for intersection.
Bottom
[in] This parameter specifies coordinate of the bottom border of the rectangle which is checked for intersection.
Result
[out, retval] This parameter receives the result of calculation. If it is TRUE, the specified rectangle and the region intersect.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Region

17.09.2024 15:14:41

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.