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

# GetTextsFromCache Method of the Page Object

This method gets full-text recognition results from cache. Use it to retrieve a [**Text**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text.md) object for each region, which will give you access to full properties of each recognized character via the [**GetCharParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-getcharparams.md) or [**GetCharParamsEx**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-getcharparamsex.md) methods.

## Syntax

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

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

## Parameters

**Regions**

\[in] Refers to the [**IRegionsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/regionscollection.md)**\*** object that specifies the regions from which the texts should be retrieved.

**Result**

\[out, retval] A pointer to the [**ITextsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/textscollection.md)**\*** variable that receives the interface pointer for the collection of [**Text**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text.md) objects. Each text from the array of texts corresponds to its own region from the array of regions.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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