跳轉到主要內容
這個方法會判斷指定的矩形是否位於區域內。它會接收矩形的座標作為輸入參數。

語法

C++

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

C#

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

Visual Basic .NET

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

參數

Left [in] 此參數指定矩形左邊界的座標。 Top [in] 此參數指定矩形上邊界的座標。 Right [in] 此參數指定矩形右邊界的座標。 Bottom [in] 此參數指定矩形下邊界的座標。 Result [out, retval] 此參數接收計算結果。若為 TRUE,表示指定的矩形位於該區域內。

傳回值

此方法沒有特定的傳回值。它會傳回 ABBYY FineReader Engine 函式的標準傳回值

另請參閱

區域