| Visual Basic (Declaration) | |
|---|---|
Overloads Sub DrawString( _ ByVal graphics As Graphics, _ ByVal text As String, _ ByVal font As Font, _ ByVal textBrush As Brush, _ ByVal bounds As Rectangle _ ) | |
Parameters
- graphics
- The graphics that should be used to paint.
- text
- String to draw.
- font
- Font that defines the text format of the string.
- textBrush
- Brush that determines the color and texture of the drawn text.
- bounds
- RectangleF structure that specifies the location of the drawn text.