Graphics.FromHwnd Method

Creates a new Graphics from the specified handle to a window.

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

Syntax

C#
public static Graphics FromHwnd(
	IntPtr hwnd
)

Parameters

hwnd

Type: System.IntPtr

Handle to a window.

Return Value

A new Graphics for the specified window handle.

See Also

Reference