Returns a "screenshot" of the
C1BulletGraph control as an image with given width, height, and pixel format.
シンタックス
'宣言
Public Overloads Function GetImage( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Drawing.Imaging.PixelFormat _
) As System.Drawing.Image
public System.Drawing.Image GetImage(
System.int ,
System.int ,
System.Drawing.Imaging.PixelFormat
)
パラメータ
- 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.
- format
- The pixel format for the new System.Drawing.Bitmap. This must specify a value that begins with Format.
例外
例外 | 解説 |
System.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.
|
参照