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

# OpenImageFile Method of the ImageProcessingTools Object

This method opens the specified image file.

## Syntax

```vb Visual Basic .NET theme={null}
Function OpenImageFile(path As String) As ImageFile
```

```cpp C++ theme={null}
HRESULT OpenImageFile(
  BSTR         path,
  IImageFile** Result
);
```

## Parameters

**path**

\[in] This variable specifies the full path to the image file.

**Result**

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

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

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

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