## Graphics.GetHdc method

Gets the handle to the device context associated with this Graphics.

```csharp
public IntPtr GetHdc()
```

### Return Value

Handle to the device context associated with this Graphics.

### See Also

* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)


