Graphics.FromHdcInternal(IntPtr) 方法

定义

返回指定设备上下文的 GraphicsReturns a Graphics for the specified device context.

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

参数

hdc
IntPtr

设备上下文的句柄。Handle to a device context.

返回

Graphics

指定设备上下文的 GraphicsA Graphics for the specified device context.

注解

不应使用此方法。This method should not be used.

适用于