Visual Basic
C#
Managed Extensions for C++
C++/CLI
Return Value
voidReleases the previously received Graphics object and updates the ImageX object with the image in the Graphics object. The ImageX object may have a new bit depth after a GetGraphics/ReleaseGraphics set of calls. The previously returned Graphics object is Disposed and should no longer be used. An exception will be generated if this routine is called without a matching GetGraphics call. The ImageX object may have a new bit depth after a GetGraphics/ReleaseGraphics set of calls.