Extracts the image data from the specified device context and creates the Bitmap class instance containing this image data.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Shared Function FromHdc ( _ hdc As IntPtr, _ rectangle As Rectangle _ ) As Bitmap
Type: System.IntPtr
The handle to device context to get the bitmap from.Type: System.Drawing.Rectangle
The rectangle of which specifies a viewport to get the bitmap from.