Graphics.FromHwndInternal Method (IntPtr)

 

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

Creates a new Graphics for the specified windows handle.

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

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

Parameters

hwnd
Type: System.IntPtr

Handle to a window.

Return Value

Type: System.Drawing.Graphics

A Graphics for the specified window handle.

This method should not be used.

.NET Framework
Available since 1.1
Return to top
Show: