Language

ActivityDesignerPaint.DrawText メソッド

定義

アクティビティ デザイナー画面にテキストを描画します。

public:
 static void DrawText(System::Drawing::Graphics ^ graphics, System::Drawing::Font ^ font, System::String ^ text, System::Drawing::Rectangle boundingRect, System::Drawing::StringAlignment alignment, System::Workflow::ComponentModel::Design::TextQuality textQuality, System::Drawing::Brush ^ textBrush);
public static void DrawText(System.Drawing.Graphics graphics, System.Drawing.Font font, string text, System.Drawing.Rectangle boundingRect, System.Drawing.StringAlignment alignment, System.Workflow.ComponentModel.Design.TextQuality textQuality, System.Drawing.Brush textBrush);
static member DrawText : System.Drawing.Graphics * System.Drawing.Font * string * System.Drawing.Rectangle * System.Drawing.StringAlignment * System.Workflow.ComponentModel.Design.TextQuality * System.Drawing.Brush -> unit
Public Shared Sub DrawText (graphics As Graphics, font As Font, text As String, boundingRect As Rectangle, alignment As StringAlignment, textQuality As TextQuality, textBrush As Brush)

パラメーター

graphics
Graphics

テキストを描画する Graphics 。

font
Font

テキストの描画に使用する Font 。

text
String

描画するテキスト。

boundingRect
Rectangle

テキストを描画する必要がある境界 Rectangle 。

alignment
StringAlignment

テキストが外接する四角形のどこに配置されているかを指定する StringAlignment 。

textQuality
TextQuality

テキストを描画する品質設定を指定する TextQuality 。

textBrush
Brush

テキストを描画する Brush 。

例外

graphics、font、text、または textBrush に null 参照 (Visual Basic の Nothing) が含まれています。

適用対象