Version

DrawString(Single,Single,String) Method

Draws the specified text string at the specified location.
Syntax
'Declaration
 
Public Overloads Sub DrawString( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal text As String _
) 
public void DrawString( 
   float x,
   float y,
   string text
)

Parameters

x
X-coordinate of the upper-left corner of the text.
y
Y-coordinate of the upper-left corner of the text.
text
String to draw.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also