Accusoft.ImagXpress12.Net
ReleaseGraphics(Boolean) Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageX Class > ReleaseGraphics Method : ReleaseGraphics(Boolean) Method




update
Controls whether the current image is updated with the image that has been drawn upon in the graphics object.

Glossary Item Box

Releases the previously received System.Drawing.Graphics object.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.