## Graphics.FromHwnd method

Crée un nouveauGraphics du handle spécifié à une fenêtre.

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

| Paramètre | Taper | La description |
| --- | --- | --- |
| hwnd | IntPtr | Poignée à une fenêtre. |

### Return_Value

Cette méthode retourne un nouveauGraphics pour le handle de fenêtre spécifié.

### Voir également

* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

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