> ## 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 オブジェクトの HasIntersectionWithRegion メソッド

> ABBYY FineReader Engine API の Region オブジェクトの HasIntersectionWithRegion メソッド — 領域が別の指定された領域と交差するかどうかを返します。

このメソッドは、領域が指定した領域と交差するかどうかを判定します。

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

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

```cpp theme={null}
HRESULT HasIntersectionWithRegion(
  IRegion*      Region,
  VARIANT_BOOL* Result
);
```

### C\#

```csharp theme={null}
bool HasIntersectionWithRegion( Region Region );
```

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

```vb theme={null}
Function HasIntersectionWithRegion(Region As Region) As Boolean
```

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

Region

\[in] 交差判定の対象となる [Region](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/region) オブジェクトを指定します。

Result

\[out, retval] 計算結果を受け取ります。このパラメーターが TRUE の場合、2 つの領域は交差しています。

<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)
