Graphics::FromHdc Method
.NET Framework (current version)
Creates a new Graphics from the specified handle to a device context.
Assembly: System.Drawing (in System.Drawing.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | FromHdc(IntPtr) | Creates a new Graphics from the specified handle to a device context. |
![]() ![]() | FromHdc(IntPtr, IntPtr) | Creates a new Graphics from the specified handle to a device context and handle to a device. |
Show:

