Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DrawString Method
Collapse the table of content
Expand the table of content

Graphics.DrawString Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method DrawString(String, Font, Brush, PointF) Draws the specified text string at the specified location with the specified Brush and Font objects.
Public method DrawString(String, Font, Brush, RectangleF) Draws the specified text string in the specified rectangle with the specified Brush and Font objects.
Public method 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.
Public method 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.
Public method DrawString(String, Font, Brush, Single, Single) Draws the specified text string at the specified location with the specified Brush and Font objects.
Public method 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.
Top

Community Additions

ADD
Show:
© 2015 Microsoft