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

描画する System.Drawing.Graphics オブジェクト。
その内部に描画する矩形を示す System.Drawing.Rectangle 値。
描画する内容を示す string
イメージを示す System.Drawing.Image
フォントを示す System.Drawing.Font 値。
テキストの色を表す System.Drawing.Color
無効かどうかを表す bool 値。
テキストの矩形を表す値。
イメージの矩形を表す値。
キャプションとイメージを描画します。
シンタックス
Public 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, _
   ByRef textRectangle As Rectangle, _
   ByRef imageRectangle As Rectangle _
) 

パラメータ

graphics
描画する System.Drawing.Graphics オブジェクト。
rectangle
その内部に描画する矩形を示す System.Drawing.Rectangle 値。
text
描画する内容を示す string
image
イメージを示す System.Drawing.Image
font
フォントを示す System.Drawing.Font 値。
color
テキストの色を表す System.Drawing.Color
disabled
無効かどうかを表す bool 値。
textRectangle
テキストの矩形を表す値。
imageRectangle
イメージの矩形を表す値。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.