PowerTools PlusPak for Windows Forms 8.0J
DrawString(String,Font,Brush,PointF) メソッド

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

パラメータ

s
描画する文字列。
font
文字列のテキスト書式を定義するFontオブジェクト。
brush
描画するテキストの色と外見を決定するBrushオブジェクト。
point
描画するテキストの左上端を指定するPointF構造体。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

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

Send Feedback