Skip to main content
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