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

# ImageRegionList

> ImageRegionList class providing methods to add, remove, and clear field regions on document images in a Splitter Script activity.

Provides access to region lists on an image.

## Methods

| Name                                                                    | Description                                                                                                                                                        |
| :---------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ImageRegion Add(ImageRegion imageRegion);`                             | Adds an existing region to a list. Returns the added region.                                                                                                       |
| `ImageRegion Add(Rectangle rectangle, Page page);`                      | Creates a new region using the passed rectangle and adds it to the field regions. Returns the added region.                                                        |
| `ImageRegion Add(Rectangle[] rectangles, Page page);`                   | Creates a new region on the specified page using the passed rectangles and adds it to the field regions. Returns the added region.                                 |
| `ImageRegion Add(int left, int top, int right, int bottom, Page page);` | Creates a new region on the specified page using the passed rectangle boundary coordinates and adds the new region to the field regions. Returns the added region. |
| `bool Remove(ImageRegion imageRegion);`                                 | Removes a region from the list. Returns `true` if the region is removed successfully and returns `false` otherwise.                                                |
| `bool Remove(int imageRegionIndex);`                                    | Removes a region with the specified index. Returns `true` if the region is removed successfully and returns `false` otherwise.                                     |
| `void Clear();`                                                         | Removes all regions from the list.                                                                                                                                 |
