Gauges for WinForms | ComponentOne
C1.Win.C1Gauge.4.5.2 Assembly / C1.Win.C1Gauge Namespace / C1BulletGraph Class / GetImage Method / GetImage(Int32,Int32) Method
The width, in pixels, of the new System.Drawing.Bitmap. Must be greater than zero.
The height, in pixels, of the new System.Drawing.Bitmap. Must be greater than zero.

In This Topic
    GetImage(Int32,Int32) Method
    In This Topic
    Returns a "screenshot" of the C1BulletGraph control as an image with given width and height.
    Syntax
    'Declaration
     
    Public Overloads Function GetImage( _
       ByVal width As System.Integer, _
       ByVal height As System.Integer _
    ) As System.Drawing.Image
    public System.Drawing.Image GetImage( 
       System.int width,
       System.int height
    )

    Parameters

    width
    The width, in pixels, of the new System.Drawing.Bitmap. Must be greater than zero.
    height
    The height, in pixels, of the new System.Drawing.Bitmap. Must be greater than zero.
    See Also