Graphics.FromHow Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a graphics object.

Namespace:  System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

Syntax

'Declaration
Public Shared Function FromHow ( _
    how As IntPtr, _
    fFree As Boolean _
) As Graphics
'Usage
Dim how As IntPtr 
Dim fFree As Boolean 
Dim returnValue As Graphics 

returnValue = Graphics.FromHow(how, fFree)
public static Graphics FromHow(
    IntPtr how,
    bool fFree
)
public:
static Graphics^ FromHow(
    IntPtr how, 
    bool fFree
)
public static function FromHow(
    how : IntPtr, 
    fFree : boolean
) : Graphics

Parameters

Return Value

Type: System.Drawing.Graphics

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 1.0

See Also

Reference

Graphics Class

Graphics Members

System.Drawing Namespace