[]
Draws formatted text in the specified rectangle.
public void DrawText(string text, Rectangle rectangle, TextFormat format)
Type | Name | Description |
---|---|---|
string | text | The string that specifies the text to be drawn. |
Rectangle | rectangle | Contains the rectangle in which the text is to be formatted. |
TextFormat | format | Specifies the method of formatting the text. |