## Graphics::FromImage method


Crée un nouvel objet [Graphics](../) à partir de l'image spécifiée.

```cpp
static SharedPtr<Graphics> System::Drawing::Graphics::FromImage(const SharedPtr<Image> &image)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| image | const SharedPtr\<Image\>\& | Un objet [Image](../../image/) à partir duquel un objet [Graphics](../) doit être créé |

### ReturnValue

L'objet [Graphics](../) créé

## Voir aussi

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