語言

Graphics.FromHwndInternal(IntPtr) 方法

定義

為指定的 Windows 帳柄建立一個新的 Graphics 帳號。

public:
 static System::Drawing::Graphics ^ FromHwndInternal(IntPtr hwnd);
public static System.Drawing.Graphics FromHwndInternal(IntPtr hwnd);
static member FromHwndInternal : nativeint -> System.Drawing.Graphics
Public Shared Function FromHwndInternal (hwnd As IntPtr) As Graphics

參數

hwnd
IntPtr

nativeint

把手拿到窗邊。

傳回

A Graphics 代表指定的視窗 handle。

備註

不應使用此方法。

適用於