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

# 静的 Text 仮説

> Static Text 仮説のメソッドを使用すると、認識された値の読み取り、行数とキーワード数の取得、各テキスト行の Rectangle の取得を FlexiLayout language で行えます。

**Static Text** 仮説では、FlexiLayout language で次のメソッドを使用できます。

<div id="static-text-hypothesis-methods">
  ## 静的 Text 仮説のメソッド
</div>

| Parameter                                        | 説明                                                                                                                                      |
| ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| `Distance LineHeight( Int n )`                   | インデックス `n` のテキスト行の矩形の高さ。                                                                                                                |
| `Distance LineWidth( Int n )`                    | インデックス `n` のテキスト行の矩形の幅。                                                                                                                 |
| `Int KeywordCount()`                             | 見つかった文字列に対応する **SearchText** で指定された文字列内のキーワード数を返します。                                                                                    |
| `Int LineCount()`                                | 仮説テキストの行数。                                                                                                                              |
| `Rect LineRect( Int n )`                         | インデックス `n` のテキスト行の矩形。 **注:** この関数で取得される矩形は、ページ上の位置に従って上から下の順に並べられます。インデックスの小さい矩形ほどページの上側にあります (インデックスは `0` から `LineCount() - 1` までです) 。 |
| <a id="keyword" /> `String Keyword( Int index )` | 見つかった文字列に対応する **SearchText** で指定された文字列内のキーワードを、インデックスで取得します。インデックスは 0 から始まります。                                                          |
| `String Value()`                                 | 仮説の領域内の画像上にある認識されたテキストの値。                                                                                                               |
| `XCoordinate LineLeft( Int n )`                  | インデックス `n` のテキスト行の矩形の最も左にある点の X 座標。                                                                                                     |
| `XCoordinate LineRight( Int n )`                 | インデックス `n` のテキスト行の矩形の最も右にある点の X 座標。                                                                                                     |
| `XCoordinate LineXCenter( Int n )`               | インデックス `n` のテキスト行の矩形の中心の X 座標。                                                                                                          |
| `YCoordinate LineBottom( Int n )`                | インデックス `n` のテキスト行の矩形の最下点の Y 座標。                                                                                                         |
| `YCoordinate LineTop( Int n )`                   | インデックス `n` のテキスト行の矩形の最上点の Y 座標。                                                                                                         |
| `YCoordinate LineYCenter( Int n )`               | インデックス `n` のテキスト行の矩形の中心の Y 座標。                                                                                                          |
