> ## 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.

# デバッグ用関数

> デバッグ目的で検索領域に関する情報を返す関数

次の関数は **Search Conditions** セクションでのみ利用できます。

これらの関数はデバッグ用の出力に使用できます。検索領域を制限する手順を指定した後に、print コマンドを実行してその結果を確認できます。

| Function                                          | Description                          |
| :------------------------------------------------ | :----------------------------------- |
| `FuzzyRect SearchArea()`                          | 作成された検索領域 (ファジーな矩形) 。読み取り専用。         |
| `RectArray ExcludedRects()`                       | 検索領域から除外された矩形の配列。読み取り専用。             |
| `PageArea PageSearchAreaLocal( Int PageNumber )`  | 指定したページと交差する検索領域を、そのページのローカル座標で返します。 |
| `PageArea PageSearchAreaGlobal( Int PageNumber )` | 指定したページと交差する検索領域を、グローバル座標で返します。      |

<div id="example">
  ## 例
</div>

要素の検索領域を表示するには:

Advanced pre-search relations セクションで、選択した要素に対して次のコードを入力します:

```
Print: Str(SearchArea);
```

または同等のコードを使用

```
Print: Str(SearchArea ());
```

Str 関数は、印刷に必要な string 形式に結果を変換します。
