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

# RegionsCollection Object (IRegionsCollection Interface)

This object represents a collection of the [**Region**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/region.md) objects.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| [**Count**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/count.md) | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the number of elements in the collection. |
| [**Element**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/element.md) | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Provides access to a single element of the collection. |

## Methods

| **Name** | **Description** |
| - | - |
| [**Add**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/add.md) | Adds a new element at the end of the collection. |
| [**DeleteAt**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteat.md) | Removes an element from the collection. |
| [**DeleteAll**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteall.md) | Removes all the elements from the collection. |
| [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) | Provides access to a single element of the collection. |

## Output parameter

This collection is the output parameter of the [**CreateRegionsCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createxxx.md) of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## Input parameter

This object is the input parameter of the [**SetFieldRegion**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/page-setfieldregion.md) and [**GetTextsFromCache**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/page-gettextsfromcache.md) methods of the [**Page**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/page.md) object.

## Samples

This method is used in the following code samples: [Invoices Processing and Training](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#invoicesprocessingandtraining).

## See also

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

[Working with Collections](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/collections.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
