ActivityDesignerPaint.DrawText Método

Definição

Desenha texto na superfície do designer de atividades.

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)

Parâmetros

graphics
Graphics

O Graphics exemplo em que desenhar o texto.

font
Font

Eles Font costumavam desenhar o texto.

text
String

O texto para desenhar.

boundingRect
Rectangle

A delimitação Rectangle em que o texto deve ser desenhado.

alignment
StringAlignment

O StringAlignment que especifica onde o texto está alinhado no retângulo delimitador.

textQuality
TextQuality

O TextQuality que especifica a definição de qualidade para desenhar o texto.

textBrush
Brush

Depois Brush , para desenhar o texto.

Exceções

graphics, font, text ou textBrush contém uma referência nula (Nothing em Visual Basic).

Aplica-se a