プッシュボタンを描画します。
シンタックス
'宣言
Public Overloads Shared Sub DrawPushButton( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.String, _
ByVal As System.Object, _
ByVal As Font, _
ByVal As System.Single, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As ImageScale, _
ByVal As CaptionImageRelation, _
ByVal As Border _
)
public static void DrawPushButton(
GcGraphics ,
System.Drawing.RectangleF ,
System.string ,
System.object ,
Font ,
System.float ,
System.Drawing.Color ,
System.Drawing.Color ,
ImageScale ,
CaptionImageRelation ,
Border
)
パラメータ
- g
- 描画するグラフィック。
- bounds
- コントロールの境界線。
- caption
- ボタンのテキスト。
- image
- ボタンの画像。 nullでない場合は、GrapeCity.Documents.Drawing.IImageまたはGrapeCity.Documents.Pdf.Graphics.FormXObjectになります。
- font
- フォント。
- fontSize
- フォントサイズ。
- foreColor
- 前景色。
- backColor
- 背景色。
- imageScale
- 画像の配置と拡大縮小。
- captionImageRelation
- タン内のキャプションと画像の相対位置。
- border
- 境界線の定義。
参照