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

# Pages オブジェクト（IPages インターフェイス）

このオブジェクトはDocumentページのコレクションです。標準的なコレクションのメソッドとプロパティに加えて、Document内のページを移動するための [**MoveById**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pages-movebyid.md) メソッドを備えています。特定のDocumentのページにアクセスするには、対応する [**Document**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/document.md) オブジェクトの [**Pages**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/document.md#pages) プロパティを使用します。

**Pages** オブジェクトは、いわゆる「[接続可能なオブジェクト](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/connectableobjects.md)」です。**Pages** オブジェクトのメソッドは、専用の発信インターフェースを通じて、コレクションの変更に関する情報を通知します。これらのインターフェースは、[**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

| **Name** | **型** | **説明** |
| - | - | - |
| [**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) | [**Page**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | コレクション内の 1 つの要素にアクセスできます。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**Attach**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pages-attach.md) | 指定したページをあるDocumentから別のDocumentに移動します。 |
| [**DeleteById**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/deletebyid.md) | 指定した識別子を持つ要素をコレクションから削除します。 |
| [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) | コレクションの 1 つの要素にアクセスします。 |
| [**MoveById**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pages-movebyid.md) | 要素をコレクション内の指定した位置に移動します。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/Pages.gif?s=a26f2122f8c6020743f5d44ad31a11b7)

## サンプル

このメソッドは、次のコード サンプルで使用されています：[請求書の処理と学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#invoicesprocessingandtraining)

## 関連項目

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

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

[Propertiesの操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
