IsPointInRegion Method of the Region Object

This method calculates whether the specified point is inside the region. It receives coordinates of the point as input parameters.

Syntax

C++

HRESULT IsPointInRegion(
  int           X,
  int           Y,
  VARIANT_BOOL* Result
);
    

C#

bool IsPointInRegion(
  int X,
  int Y
);
    

Visual Basic .NET

Function IsPointInRegion( _
  X As Integer, _
  Y As Integer _
) As Boolean
    

Parameters

X
[in] This parameter specifies the horizontal coordinate of the point.
Y
[in] This parameter specifies the vertical coordinate of the point.
Result
[out, retval] This parameter receives the result of calculation. If it is TRUE, the specified point 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

Region

24.03.2023 8:51:52

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.