## Graphics::FromImage method


ينشئ كائن [Graphics](../) جديد من الصورة المحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| image | const SharedPtr\<Image\>\& | كائن [Image](../../image/) يُستَخدم لإنشاء كائن [Graphics](../). |

### ReturnValue

كائن [Graphics](../) المُنشأ

## انظر أيضًا

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