GrapeCity PlusPak for Windows Forms 10.0J
DrawText(Graphics,Rectangle,String,Image,Font,Color,Boolean) メソッド

描画するSystem.Drawing.Graphicsオブジェクト。
System.Drawing.Rectangleの値は塗りつぶす矩形を示します。
stringは描画する内容を示します。
System.Drawing.Imageはイメージを示します。
System.Drawing.Fontの値はフォントを示します。
テキストの色を表すSystem.Drawing.Color
無効になっているかどうかを表すbool値。
キャプションおよびイメージを描画します。
シンタックス
Protected Overloads Sub DrawText( _
   ByVal graphics As Graphics, _
   ByVal rectangle As Rectangle, _
   ByVal text As String, _
   ByVal image As Image, _
   ByVal font As Font, _
   ByVal color As Color, _
   ByVal disabled As Boolean _
) 

パラメータ

graphics
描画するSystem.Drawing.Graphicsオブジェクト。
rectangle
System.Drawing.Rectangleの値は塗りつぶす矩形を示します。
text
stringは描画する内容を示します。
image
System.Drawing.Imageはイメージを示します。
font
System.Drawing.Fontの値はフォントを示します。
color
テキストの色を表すSystem.Drawing.Color
disabled
無効になっているかどうかを表すbool値。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.