[]
Returns a "screenshot" of the C1BulletGraph control.
public Image GetImage()
Type | Description |
---|---|
Image |
Returns a "screenshot" of the C1BulletGraph control as an image with given width and height.
public Image GetImage(int width, int height)
Type | Name | Description |
---|---|---|
int | width | The width, in pixels, of the new Bitmap. Must be greater than zero. |
int | height | The height, in pixels, of the new Bitmap. Must be greater than zero. |
Type | Description |
---|---|
Image |
Returns a "screenshot" of the C1BulletGraph control as an image with given width, height, and pixel format.
public Image GetImage(int width, int height, PixelFormat format)
Type | Name | Description |
---|---|---|
int | width | The width, in pixels, of the new Bitmap. Must be greater than zero. |
int | height | The height, in pixels, of the new Bitmap. Must be greater than zero. |
PixelFormat | format | The pixel format for the new Bitmap. This must specify a value that begins with Format. |
Type | Description |
---|---|
Image |
Type | Condition |
---|---|
ArgumentException | A System.Drawing.Imaging.PixelFormat value is specified whose name does not start with Format. For example, specifying System.Drawing.Imaging.PixelFormat.Gdi will cause an System.ArgumentException, but System.Drawing.Imaging.PixelFormat.Format48bppRgb will not. |