This documentation is archived and is not being maintained.

Graphics.FromHwndInternal Method

Internal method. Do not use.

[Visual Basic]
Public Shared Function FromHwndInternal( _
   ByVal hwnd As IntPtr _
) As Graphics
[C#]
public static Graphics FromHwndInternal(
 IntPtr hwnd
);
[C++]
public: static Graphics* FromHwndInternal(
 IntPtr hwnd
);
[JScript]
public static function FromHwndInternal(
   hwnd : IntPtr
) : Graphics;

Parameters

hwnd
Handle to a window.

Return Value

This method returns a new Graphics object for the specified window handle.

Remarks

This method is an internal method and should not be used.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Graphics Class | Graphics Members | System.Drawing Namespace

Show: