This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.LoadFromHdc Method

Captures a bitmap from the specified device context.

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

Syntax

Visual Basic
Public Sub LoadFromHdc ( _
	hdc As IntPtr, _
	rectangle As Rectangle _
)
C#
public void LoadFromHdc(
	IntPtr hdc,
	Rectangle rectangle
)

Parameters

hdc

Type: System.IntPtr

The handle to device context to grab the bitmap from.
rectangle

Type: System.Drawing.Rectangle

The rectangle on the window associated with this device context to grab from.

See Also

Reference