Gauges for WinForms
GetImage(Int32,Int32,PixelFormat) メソッド

C1.Win.C1Gauge.4.5.2 アセンブリ > C1.Win.C1Gauge 名前空間 > C1BulletGraph クラス > GetImage メソッド : GetImage(Int32,Int32,PixelFormat) メソッド
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.
The pixel format for the new System.Drawing.Bitmap. This must specify a value that begins with Format.
Returns a "screenshot" of the C1BulletGraph control as an image with given width, height, and pixel format.
シンタックス
'宣言
 
Public Overloads Function GetImage( _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal format As System.Drawing.Imaging.PixelFormat _
) As System.Drawing.Image
public System.Drawing.Image GetImage( 
   System.int width,
   System.int height,
   System.Drawing.Imaging.PixelFormat format
)

パラメータ

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.
例外
例外解説
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.
参照

C1BulletGraph クラス
C1BulletGraph メンバ
オーバーロード一覧