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

GdiGraphics.FromHwnd Method

Returns a GdiGraphics object associated with the specified window handle.

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

Syntax

Visual Basic
Public Shared Function FromHwnd ( _
	hwnd As IntPtr _
) As GdiGraphics
C#
public static GdiGraphics FromHwnd(
	IntPtr hwnd
)

Parameters

hwnd

Type: System.IntPtr

Handle to a window.

Return Value

GdiGraphics object associated with the window.

See Also

Reference