Accusoft.ImagXpress13.Net
GetGraphics Method




Gets a System.Drawing.Graphics object with the image selected into it for drawing on the image.
Syntax
'Declaration
 
Public Function GetGraphics() As Graphics
'Usage
 
Dim instance As ImageX
Dim value As Graphics
 
value = instance.GetGraphics()
public Graphics GetGraphics()
public: Graphics* GetGraphics(); 
public:
Graphics^ GetGraphics(); 

Return Value

A System.Drawing.Graphics object
Remarks
This routine gets a System.Drawing.Graphics object with the image selected into it. The graphics object may then be drawn upon using the standard System.Drawing.Graphics drawing methods. Do not call Dispose on this Graphics object directly but instead call the ReleaseGraphics method. An exception will be generated if more than one call to GetGraphics is done without a ReleaseGraphics being called. The ImageX object may have a new bit depth after a GetGraphics/ReleaseGraphics set of calls.
See Also

Reference

ImageX Class
ImageX Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback