This documentation is archived and is not being maintained.

Graphics.DrawString Method

Draws the specified text string at the specified location with the specified Brush and Font objects.

Name Description
Graphics.DrawString (String, Font, Brush, PointF) Draws the specified text string at the specified location with the specified Brush and Font objects.
Graphics.DrawString (String, Font, Brush, RectangleF) Draws the specified text string in the specified rectangle with the specified Brush and Font objects.

Supported by the .NET Compact Framework.

Graphics.DrawString (String, Font, Brush, PointF, StringFormat) Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.
Graphics.DrawString (String, Font, Brush, RectangleF, StringFormat) Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.

Supported by the .NET Compact Framework.

Graphics.DrawString (String, Font, Brush, Single, Single) Draws the specified text string at the specified location with the specified Brush and Font objects.

Supported by the .NET Compact Framework.

Graphics.DrawString (String, Font, Brush, Single, Single, StringFormat) Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.

Supported by the .NET Compact Framework.

Show: