Graphics::FromHwndInternal Method (IntPtr)
.NET Framework (current version)
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.
Assembly: System.Drawing (in System.Drawing.dll)
public: [SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)] static Graphics^ FromHwndInternal( IntPtr hwnd )
Parameters
- hwnd
-
Type:
System::IntPtr
Handle to a window.
This method should not be used.
.NET Framework
Available since 1.1
Available since 1.1
Show: