Graphics.Graphics

Overview | Methods | This Package | All Packages

Graphics.Graphics

Creates a Graphics object.

Syntax

public Graphics( int dc )

protected Graphics( Control control, int dc, int flags )

Parameters

dc

The handle to a device context (HDC).

control

A Control object that specifies the control with which to associate the specified device context.

flags

One or more flags to be passed to the Win32 GetDCEx function.

Remarks

If the device context passed to this constructor is 0, the constructor verifies that sufficient resources are available to create a device context and then retrieves the device context based on the specified window handle.