[]
        
(Showing Draft Content)

C1.Win.Gauge.C1Gauge.GetImage

GetImage Method

GetImage()

Returns a "screenshot" of the C1Gauge control.

Declaration
public Image GetImage()
Public Function GetImage() As Image
Returns
Type Description
Image

GetImage(int, int)

Returns a "screenshot" of the C1Gauge control as an image with given width and height.

Declaration
public Image GetImage(int width, int height)
Public Function GetImage(width As Integer, height As Integer) As Image
Parameters
Type Name Description
int width
int height
Returns
Type Description
Image

GetImage(int, int, PixelFormat)

Returns a "screenshot" of the C1Gauge control as an Bitmap image with given width, height, and pixel format.

Declaration
public Image GetImage(int width, int height, PixelFormat format)
Public Function GetImage(width As Integer, height As Integer, format As PixelFormat) As Image
Parameters
Type Name Description
int width
int height
PixelFormat format
Returns
Type Description
Image
Remarks

The method supports System.Drawing.Imaging.PixelFormat value whose name does start with Format. For example, specifying System.Drawing.Imaging.PixelFormat.Gdi will cause an System.ArgumentException, but System.Drawing.Imaging.PixelFormat.Format48bppRgb will not.