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

# ImageProcessingTools オブジェクトの OpenImageFile メソッド

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

## 構文

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

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

## パラメーター

**path**

\[in] 画像ファイルのフルパスを指定する変数です。

**Result**

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

## 戻り値

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

## 関連項目

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

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