Creates a Bitmap from the specified device context.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static Bitmap FromHdc( IntPtr hdc, Rectangle rect )
Type: System.IntPtr
A handle to the device context.Type: System.Drawing.Rectangle
The rectangle that specifies a viewport to get the bitmap from.