PaintEventArgs.IDeviceContext.GetHdc Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
nativeint
An IntPtr representing the handle of a device context.
This member is an explicit interface member implementation. It can be used only when the PaintEventArgs instance is cast to an IDeviceContext interface.
Product | Versions |
---|---|
Windows Desktop | 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: