DrawText Method (WindowDeviceContext)
In This Topic
Draws formatted text in the specified rectangle.
Syntax
'Declaration
Public Sub DrawText( _
ByVal As String, _
ByVal As Rectangle, _
ByVal As TextFormat _
)
public void DrawText(
string ,
Rectangle ,
TextFormat
)
Parameters
- text
- The string that specifies the text to be drawn.
- rectangle
- Contains the rectangle in which the text is to be formatted.
- format
- Specifies the method of formatting the text.
See Also