Help Center

CGpGraphics.ReleaseHDCmethod

Releases a device context handle obtained by a previous call to the **GetHDC** method of this **Graphics** object.

GraphicsmethodCGpGraphics.incdocumented

Syntax

SUB ReleaseHDC (BYVAL hdc AS HDC)

Parameters

NameDescription
hdcHandle to a device context obtained by a previous call to the GetHDC method of this Graphics object.

Description

Releases a device context handle obtained by a previous call to the GetHDC method of this Graphics object.

Reference

  • Include file CGpGraphics.inc
  • Defined in AfxNova/CGpGraphics.inc:117
  • Documented in Graphics/GdiPlus Classes/CGpGraphics Classes.md
  • Topic: CGpGraphics Class