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

GdiGraphics.FromHdc Method

Returns a GdiGraphics object associated with the specified device context.

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

Syntax

Visual Basic
Public Shared Function FromHdc ( _
	hdc As IntPtr _
) As GdiGraphics
C#
public static GdiGraphics FromHdc(
	IntPtr hdc
)

Parameters

hdc

Type: System.IntPtr

Handle to a device context.

Return Value

GdiGraphics object associated with the device context.

See Also

Reference