Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Graphics Class
Graphics Methods
DrawString Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Graphics..::.DrawString Method

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

  NameDescription
Public methodDrawString(String, Font, Brush, PointF) Draws the specified text string at the specified location with the specified Brush and Font objects.
Public methodSupported by the .NET Compact FrameworkDrawString(String, Font, Brush, RectangleF) Draws the specified text string in the specified rectangle with the specified Brush and Font objects.
Public methodDrawString(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.
Public methodSupported by the .NET Compact FrameworkDrawString(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.
Public methodSupported by the .NET Compact FrameworkDrawString(String, Font, Brush, Single, Single) Draws the specified text string at the specified location with the specified Brush and Font objects.
Public methodSupported by the .NET Compact FrameworkDrawString(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.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker