'Declaration
Public Overloads Sub ReleaseGraphics( _
ByVal update As Boolean _
)
'Usage
Dim instance As ImageX
Dim update As Boolean
instance.ReleaseGraphics(update)
Parameters
update
Controls whether the current image is updated with the image that has been drawn upon in the graphics object.
Return Value
void
Remarks
If the update parameter is true then the ImageX object is update to the image in the previously returned Graphics object. If the update parameter is false then the ImageX object is not updated. In either case, the previously returned Graphics object is Disposed and should no longer be used. The ImageX object may have a new bit depth after a GetGraphics/ReleaseGraphics set of calls. 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.