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)를 포함합니다.

적용 대상