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

# BlockDefinitions Object (IBlockDefinitions Interface)

This object represents a collection of blocks of a Document Definition page. To access the blocks of the certain Document Definition page, use the [**Blocks**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/pagedefinition.md#blocks) property of the corresponding [**PageDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/pagedefinition.md) object.

## 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) | [**BlockDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinition.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to a single element of the collection. |

## Methods

| **Name** | **Description** |
| - | - |
| [**AddNew**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/blockdefinitions-addnew.md) | Adds a new element at the end of the collection. |
| [**DeleteAll**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deleteall.md) | Removes all the elements from the collection. |
| [**DeleteById**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/deletebyid.md) | Removes an element with the specified identifier from the collection. |
| [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) | Provides access to a single element of the collection. |

## Related objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/BlockDefinitions.gif?s=5aa8ca6284a919e0267a58b72c82f330)

## See also

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

[**PageDefinition**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/pagedefinition.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)
