This documentation is for the old version. Go to the latest Graphics Mill docs

GdiGraphics.DrawString Method

Draws a text string.

Overload List

Name Description
Public method DrawString(String, Font, SolidBrush, Int32, Int32, Int32, Int32, TextTrimmingMode, Boolean, Boolean, Boolean)

Draws a string in specified rectangle (automatically wrapping it if necessary).

Public method DrawString(String, Font, SolidBrush, Single, Single, Single, Single, TextTrimmingMode, Boolean, Boolean, Boolean)

Draws a string in specified rectangle (automatically wrapping it if necessary).

Public method DrawString(String, Font, SolidBrush, Point)

Draws a text string without any special effects.

Public method DrawString(String, Font, SolidBrush, PointF)

Draws a text string without any special effects.

Public method DrawString(String, Font, Pen, Brush, Point)

Draws an outlined text at specified position.

Public method DrawString(String, Font, Pen, Brush, PointF)

Draws an outlined text at specified position.

Public method DrawString(String, Font, SolidBrush, Point, Int32[])

Draws a text string without any special effects.

Public method DrawString(String, Font, SolidBrush, PointF, Single[])

Draws a text string without any special effects.

Public method DrawString(String, Font, SolidBrush, Int32, Int32)

Draws a text string without any special effects.

Public method DrawString(String, Font, SolidBrush, Single, Single)

Draws a text string without any special effects.

Public method DrawString(String, Font, Pen, Brush, Point, Int32[])

Draws an outlined text at specified position.

Public method DrawString(String, Font, Pen, Brush, PointF, Single[])

Draws an outlined text at specified position.

Public method DrawString(String, Font, Pen, Brush, Int32, Int32)

Draws an outlined text at specified position.

Public method DrawString(String, Font, Pen, Brush, Single, Single)

Draws an outlined text at specified position.

Public method DrawString(String, Font, SolidBrush, Int32, Int32, Int32[])

Draws a text string without any special effects.

Public method DrawString(String, Font, SolidBrush, Single, Single, Single[])

Draws a text string without any special effects.

Public method DrawString(String, Font, Pen, Brush, Int32, Int32, Int32[])

Draws an outlined text at specified position.

Public method DrawString(String, Font, Pen, Brush, Single, Single, Single[])

Draws an outlined text at specified position.

Public method DrawString(String, Font, SolidBrush, Rectangle, TextTrimmingMode, Boolean, Boolean, Boolean)

Draws a string in specified rectangle (automatically wrapping it if necessary).

Public method DrawString(String, Font, SolidBrush, RectangleF, TextTrimmingMode, Boolean, Boolean, Boolean)

Draws a string in specified rectangle (automatically wrapping it if necessary).

See Also

Reference