> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Region オブジェクトの IsPointInRegion メソッド

> ABBYY FineReader Engine API の Region オブジェクトの IsPointInRegion メソッド — 指定した点が領域内にあるかどうかを返します。

このメソッドは、指定した点が領域内にあるかどうかを判定します。入力パラメーターとして、その点の座標を受け取ります。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

```cpp theme={null}
HRESULT IsPointInRegion(
  int           X,
  int           Y,
  VARIANT_BOOL* Result
);
```

### C\#

```csharp theme={null}
bool IsPointInRegion(
  int X,
  int Y
);
```

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

```vb theme={null}
Function IsPointInRegion( _
  X As Integer, _
  Y As Integer _
) As Boolean
```

<div id="parameters">
  ## パラメーター
</div>

X

\[in] このパラメーターは、点の水平座標を指定します。

Y

\[in] このパラメーターは、点の垂直座標を指定します。

Result

\[out, retval] このパラメーターは、計算結果を受け取ります。TRUE の場合、指定した点はその領域内にあります。

<div id="return-values">
  ## 戻り値
</div>

このメソッド固有の戻り値はありません。[ABBYY FineReader Engine 関数の標準的な戻り値](/ja/fine-reader/engine/api-reference/return-codes)が返されます。

<div id="see-also">
  ## 関連項目
</div>

[Region](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/region)
