## Image::FromHbitmap method


Costruisce un oggetto [Bitmap](../../bitmap/) dal bitmap GDI specificato.

```cpp
static SharedPtr<Bitmap> System::Drawing::Image::FromHbitmap(IntPtr hbitmap)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| hbitmap | IntPtr | Un handle a un bitmap GDI da cui creare un oggetto [Bitmap](../../bitmap/) |

### ReturnValue

Un puntatore condiviso all'oggetto [Bitmap](../../bitmap/) creato

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Bitmap](../../bitmap/)
* Class [Image](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
