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

# ImageToBitmap Method of the ImageProcessingTools Object

This method converts the [**Image**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md) object to a bitmap.

## Syntax

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

## Parameters

**Image**

\[in] This variable refers to the [**Image**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md) object which should be converted.

**Result**

\[out, retval] A pointer to [**IHandle\***](https://docs.abbyy.com/flexi-capture/sdk/api-reference/handle.md) pointer variable that can be directly cast to the HBITMAP type.

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