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