Heading to the Printing United trade show? Schedule a meeting with our representatives.

Bitmap.FromHdc Method

Creates a Bitmap from the specified device context.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public static Bitmap FromHdc(
	IntPtr hdc,
	Rectangle rect
)

Parameters

hdc

Type: System.IntPtr

A handle to the device context.
rect

Type: System.Drawing.Rectangle

The rectangle that specifies a viewport to get the bitmap from.

Return Value

The Bitmap that this method creates.

See Also

Reference