Graphics.FromHwnd
Graphics.FromHwnd method
Creates a new Graphics from the specified handle to a window.
public static Graphics FromHwnd(IntPtr hwnd)
Parameter | Type | Description |
---|---|---|
hwnd | IntPtr | Handle to a window. |
Return Value
This method returns a new Graphics for the specified window handle.
See Also
- class Graphics
- namespace System.Drawing
- assembly Aspose.Drawing