> ## 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 オブジェクトの ImageToBitmap メソッド

このメソッドは、[**Image**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md) オブジェクトをビットマップに変換します。

## 構文

```cpp C++ theme={null}
HRESULT ImageToBitmap(
  IImage*   Image,
  IHandle** Result
);
```

```csharp C# theme={null}
Handle ImageToBitmap(
  Image Image,
);
```

```vb Visual Basic .NET theme={null}
Function ImageToBitmap(Image As Image) As Handle
```

## パラメーター

**Image**

\[in] この変数は、変換対象の [**Image**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md) オブジェクトを参照します。

**Result**

\[out, retval] HBITMAP 型に直接キャストできる [**IHandle**\*](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/handle.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)
