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

# Page オブジェクトの GetTextsFromCache メソッド

このメソッドは、全文認識の結果をキャッシュから取得します。このメソッドを使用すると、各領域の [**Text**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text.md) オブジェクトを取得できます。取得したオブジェクトでは、[**GetCharParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text-getcharparams.md) メソッドまたは [**GetCharParamsEx**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text-getcharparamsex.md) メソッドを使用して、認識済みの各文字のすべてのプロパティにアクセスできます。

## 構文

```vb Visual Basic .NET theme={null}
Sub GetTextsFromCache(Regions As RegionsCollection) As TextsCollection
```

```cpp C++ theme={null}
HRESULT GetTextsFromCache(
  IRegionsCollection*       Regions,
  ITextsCollection**        Result
);
```

## パラメーター

**Regions**

\[in] テキストの取得元となる領域を指定する [**IRegionsCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/regionscollection.md)\*\*\*\*\* オブジェクトを参照します。

**Result**

\[out, retval] [**Text**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text.md) オブジェクトのコレクションに対するインターフェースポインターを受け取る [**ITextsCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/textscollection.md)\*\*\*\*\* 変数へのポインター。テキストの配列内の各テキストは、領域の配列内の対応する領域とそれぞれ1対1で対応します。

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

[**Page**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page.md)
