## Image.FromHbitmap method

Creates a Bitmap from a handle to a GDI bitmap.

```csharp
public static Bitmap FromHbitmap(IntPtr hbitmap)
```

| Parameter | Type | Description |
| --- | --- | --- |
| hbitmap | IntPtr | The GDI bitmap handle from which to create the Bitmap. |

### Return Value

The Bitmap this method creates.

### See Also

* class [Bitmap](../../bitmap/)
* class [Image](../)
* namespace [System.Drawing](../../image/)
* assembly [Aspose.Drawing](../../../)


