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

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

パラメータ

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

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