Επεξεργασία

Κοινή χρήση μέσω


PaintEventArgs.IDeviceContext.GetHdc Method

Definition

Returns the handle to a Windows device context.

 virtual IntPtr System.Drawing.IDeviceContext.GetHdc() = System::Drawing::IDeviceContext::GetHdc;
IntPtr IDeviceContext.GetHdc ();
abstract member System.Drawing.IDeviceContext.GetHdc : unit -> nativeint
override this.System.Drawing.IDeviceContext.GetHdc : unit -> nativeint
Function GetHdc () As IntPtr Implements IDeviceContext.GetHdc

Returns

IntPtr

nativeint

An IntPtr representing the handle of a device context.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the PaintEventArgs instance is cast to an IDeviceContext interface.

Applies to