> ## 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 [Region](/fine-reader/engine/api-reference/supplementary-objects-and-methods/region) objects.

* The indexing of ABBYY FineReader Engine collections starts with 0.
* The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

## Properties

| Name                                                                                                                  | Type                                                                                                                                                                                                          | Description                                            |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| Application                                                                                                           | [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Returns the Engine object.                             |
| Count                                                                                                                 | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties), read-only                                                                                             | Stores the number of elements in the collection.       |
| [Element](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property) | [Region](/fine-reader/engine/api-reference/supplementary-objects-and-methods/region)                                                                                                                          | Provides access to a single element of the collection. |

## Methods

| Name                                                                                                                    | Description                                                                                  |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [Add](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/add-method)             | Adds an existing object of the Region type at the end of the collection.                     |
| [DeleteAll](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/deleteall-method) | Removes all the elements from the collection.                                                |
| [DeleteAt](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/deleteat-method)   | Removes an element from the collection.                                                      |
| [InsertAt](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/insertat-method)   | Inserts an existing object of the Region type into the specified position in the collection. |
| [Item](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method)           | Provides access to a single element of the collection.                                       |

## Output parameter

This collection is the output parameter of the following methods:

* [CreateRegionsCollection](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods) method of the [Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface) object
* [FindBlackSquares](/fine-reader/engine/api-reference/image-related-objects/imagedocument/findblacksquares-method) method of the [ImageDocument](/fine-reader/engine/api-reference/image-related-objects/imagedocument) object

## Input parameter

This collection is the input parameter of the [OnSplitImages](/fine-reader/engine/visual-components-reference/iimageviewerevents/onsplitimages-method) method of the [IImageViewerEvents](/fine-reader/engine/visual-components-reference/iimageviewerevents) interface for Windows Visual Components.

## See also

[Region](/fine-reader/engine/api-reference/supplementary-objects-and-methods/region)

[Working with Collections](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-collections)

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
