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

# ImageFile オブジェクトの OpenImagePage メソッド

このメソッドは、画像ファイルの指定したページを開きます。

## 構文

```vb Visual Basic .NET theme={null}
Function OpenImagePage(pageIndex As Integer) As Image
```

```cpp C++ theme={null}
HRESULT OpenImagePage(
  int      pageIndex,
  IImage** result
);
```

## パラメーター

**pageIndex**

\[in] ファイル内の画像ページのインデックスを指定する変数です。

**result**

\[out, retval] 画像ページへのアクセスを提供する [**IImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md)\*\*\*\*\* ポインター変数へのポインターです。

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)のいずれかを返します。

## 関連項目

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