GrapeCity PlusPak for Windows Forms 10.0J
DrawString(String,Font,Brush,PointF,StringFormat) メソッド

描画する文字列。
文字列のテキスト書式を定義するFontオブジェクト。
描画するテキストの色と外見を決定するBrushオブジェクト。
描画するテキストの左上端を指定するPointF構造体。
描画するテキストに適用する書式属性(線の間隔や配置など)を指定するStringFormatオブジェクト。
指定したStringFormatオブジェクトの書式属性を使用し、指定したBrushオブジェクトとFontオブジェクトを使用して、指定した位置に指定したテキストの文字列を描画します。
シンタックス
Public Overloads Sub DrawString( _
   ByVal s As String, _
   ByVal font As Font, _
   ByVal brush As Brush, _
   ByVal point As PointF, _
   ByVal format As StringFormat _
) 
public void DrawString( 
   string s,
   Font font,
   Brush brush,
   PointF point,
   StringFormat format
)

パラメータ

s
描画する文字列。
font
文字列のテキスト書式を定義するFontオブジェクト。
brush
描画するテキストの色と外見を決定するBrushオブジェクト。
point
描画するテキストの左上端を指定するPointF構造体。
format
描画するテキストに適用する書式属性(線の間隔や配置など)を指定するStringFormatオブジェクト。
参照

参照

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

 

 


© 2008 GrapeCity inc. All rights reserved.