Graphics.FromHdcInternal Method (IntPtr)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Returns a Graphics for the specified device context.

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

[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
static member FromHdcInternal : 
        hdc:nativeint -> Graphics


Type: System.IntPtr

Handle to a device context.

Return Value

Type: System.Drawing.Graphics

A Graphics for the specified device context.

This method should not be used.

.NET Framework
Available since 1.1
Return to top