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

# Blocks オブジェクト（IBlocks インターフェイス）

このオブジェクトは、ブロックのコレクションを表します。[**Page**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page.md#blocks) オブジェクトまたは [**Block**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md#children) オブジェクトのサブオブジェクトとして存在し、それぞれページのブロックの格納先、またはブロックの子ブロックの格納先として機能します。

**Blocks** オブジェクトは、いわゆる「[接続可能なオブジェクト](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)」です。**Blocks** オブジェクトのメソッドは、専用の発信インターフェースを通じて、コレクションの変更に関する情報を通知します。これらのインターフェースは、[**ICollectionEvents**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/icollectionevents.md) (C++ 用) とディスパッチインターフェイス [**DICollectionEvents**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/icollectionevents.md) (Visual Basic 用) です。なお、Visual Basic にはイベントを簡単に処理する仕組みが用意されているため、Visual Basic のユーザーはイベントインターフェースの実装の詳細を意識する必要はありません。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| [**Count**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/count.md) | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | コレクション内の要素数を格納します。 |
| [**Element**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/element.md) | [**Block**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | コレクションの 1 つの要素にアクセスします。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) | コレクション内の [**Block**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md) オブジェクトにアクセスします。 |

## 関連オブジェクト

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

## 関連項目

[**Block**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md)

[コレクションの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/collections.md)

[**ICollectionEvents**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/icollectionevents.md)

[接続可能なオブジェクトの使用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)

[**BlocksCollection**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/blockscollection.md)

[プロパティの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
