DrawString(String,Font,Single,Color,PointF) Method
In This Topic
Draws a string using a specified attributes at a specified location.
Syntax
'Declaration
Public Overloads Sub DrawString( _
ByVal As System.String, _
ByVal As Font, _
ByVal As System.Single, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.PointF _
)
public void DrawString(
System.string ,
Font ,
System.float ,
System.Drawing.Color ,
System.Drawing.PointF
)
Parameters
- text
- The string to draw.
- font
- The font.
- fontSize
- The font size.
- foreColor
- The text color.
- location
- The location to draw at.
See Also