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

# Page オブジェクト (IPage インターフェイス)

このオブジェクトは文書のページに対応します。ページは、文書ページの画像とその処理結果を表します。このオブジェクトは、ページ画像の操作やページの状態管理に使用する一連のプロパティとメソッドを提供します。文書のすべてのページは [**Pages**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pages.md) オブジェクトで表されます。

ページ全体は、そのページ内のすべてのブロックを含む最上位のブロックと見なすことができます。**Page** オブジェクトは [**IBlock**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block.md) インターフェイスをサポートしているため、**Block** オブジェクトとして扱うことができます。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **AsBatchItem** | [**BatchItem**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/batchitem.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | **Page** をバッチアイテムとして表します。ドキュメントがバッチアイテムでない場合、このプロパティは NULL になります。 |
| **AsClassificationTrainingPage** | [**ClassificationTrainingPage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/classificationtrainingpage.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 対応する分類学習オブジェクトにアクセスできます。 |
| **Blocks** | [**Blocks**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/blocks.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | ページ内のブロックのコレクションを返します。 |
| **ErrorText** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページの処理中に発生したエラーの説明をテキストで返します。 |
| **Id** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページの識別子を返します。 |
| **Index** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページコレクション内のページのインデックスを返します。 |
| **Image** | [**ImageDocument**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | ページの画像へのアクセスを提供します。このプロパティの値は変更できます。ページの画像を変更しない場合は、**ReadOnlyImage** プロパティを使用できます。 |
| **ImageRotation** | [**RotationTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/rotationtypeenum.md)、読み取り専用 | ページ画像を開いた後、または [**IImageDocument::SaveModified**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument-savemodified.md) メソッドを最後に呼び出した後に、ページ画像に適用された回転を示します。 |
| **IsAnalyzed** | [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページが解析済みかどうかを指定します。 |
| **IsRecognized** | [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページが認識済みかどうかを指定します。 |
| **KeyValue** | [**FieldValue**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | キーフィールドの値を返します。キーフィールドを使用すると、ページの組み立てによって文書が正しく構成されているかを自動的に確認できます。キーフィールドの値は、同じ文書のすべてのページで一致している必要があります。 |
| **Name** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページの名前を返します。 |
| **OriginalImagePath** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページの元の画像へのフルパスを返します。 |
| **PageDefinition** | [**PageDefinition**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pagedefinition.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 文書ページに適用されているDocument Definitionのページを返します。 |
| **ReadOnlyImage** | [**ImageDocument**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagedocument.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | ページの読み取り専用イメージにアクセスできます。このプロパティの値は変更できません。ページのイメージを変更するには、**Image** プロパティを使用してください。 |
| **SectionDefinition** | [**SectionDefinition**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/sectiondefinition.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 文書ページに適用されたページ定義を含むセクション定義を返します。 |
| **SourceImageInfo** | [**SourceImageInfo**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/sourceimageinfo.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 元の画像に関する情報を含みます。 |
| **Type** | [**PageTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pagetypeenum.md)、読み取り専用 | ページの型を指定します。 |
| **WarningText** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ページの処理中に発生した警告の説明をテキストで返します。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**ChangeResolution**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page-changeresolution.md) | ページ画像の解像度を変更します。 |
| [**ExtractTextRegions**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page-extracttextregions.md) | ページ上の背景テキスト領域を抽出します。 |
| [**GetTextsFromCache**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page-gettextsfromcache.md) | 全文認識の結果を取得します。 |
| [**SetFieldRegion**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page-setfieldregion.md) | フィールド領域を指定します。 |
| [**TransformImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/page-transformimage.md) | ページ画像に指定の変換を適用します。 |

## 関連オブジェクト

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

## 出力パラメーター

このオブジェクトは、[**Pages**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pages.md) オブジェクトの [**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) オブジェクトの [**MatchBlock**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/block-matchblock.md) メソッド
* [**Documents**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documents-addnewfrompage.md) オブジェクトの [**AddNewFromPage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documents-addnewfrompage.md) メソッド

## サンプル

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

## 関連項目

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

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