## Graphics.FromHwnd method

ينشئ ملفًا جديدًاGraphics من المقبض المحدد إلى النافذة.

```csharp
public static Graphics FromHwnd(IntPtr hwnd)
```

| معامل | يكتب | وصف |
| --- | --- | --- |
| hwnd | IntPtr | تعامل مع النافذة. |

### قيمة الإرجاع

هذه الطريقة ترجع ملفGraphics لمقبض النافذة المحدد.

### أنظر أيضا

* class [Graphics](../../graphics)
* مساحة الاسم [System.Drawing](../../graphics)
* المجسم [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
