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

# OpenImagePage Method of the ImageFile Object

This method opens the specified page of the image file.

## Syntax

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

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

## Parameters

**pageIndex**

\[in] This variable specifies the index of an image page in the file.

**result**

\[out, retval] A pointer to the [**IImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md)**\*** pointer variable that provides access to the image page.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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