Returns a GdiGraphics object associated with the specified window handle.
Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function FromHwnd ( _ hwnd As IntPtr _ ) As GdiGraphics |
| C# |
|---|
public static GdiGraphics FromHwnd ( IntPtr hwnd ) |
| Visual C++ |
|---|
public: static GdiGraphics^ FromHwnd ( IntPtr hwnd ) |
Parameters
- hwnd
- Handle to a window.