Skip to main content

GraphicsCache.DrawString Method

Name Parameters Description
DrawString(String, Font, Brush, PointF, StringFormatInfo) s, font, brush, point, format Draws the specified text string at the specified location with the specified Brush and Font objects using the specified formatting attributes.
DrawString(String, Font, Brush, PointF, StringFormat) s, font, brush, point, format Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.
DrawString(String, Font, Brush, PointF) s, font, brush, point Draws the specified text string at the specified location with the specified Brush and Font objects.
DrawString(String, Font, Brush, Rectangle, StringFormatInfo) s, font, foreBrush, bounds, strFormat Draws the specified text string at the specified location with the specified Brush and Font objects using the specified formatting attributes.
DrawString(String, Font, Brush, Rectangle, StringFormat) s, font, foreBrush, bounds, strFormat Draws a text string at the specified position using the specified font, color and format.
DrawString(String, Font, Brush, RectangleF, StringFormatInfo) s, font, brush, bounds, strFormatInfo Draws a string with custom parameters.
DrawString(String, Font, Brush, RectangleF) s, font, brush, bounds Draws the specified text string in the specified rectangle with the specified Brush and Font objects.
DrawString(String, Font, Brush, Single, Single, StringFormatInfo) s, font, brush, x, y, format Draws the specified text string at the specified location with the specified Brush and Font objects.
DrawString(String, Font, Brush, Single, Single, StringFormat) s, font, brush, x, y, format Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.
DrawString(String, Font, Brush, Single, Single) s, font, brush, x, y Draws the specified text string at the specified location with the specified Brush and Font objects.
DrawString(String, Font, Color, Rectangle, StringFormatInfo) s, font, color, bounds, strFormatInfo Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the specified formatting attributes.
DrawString(String, Font, Color, Rectangle, StringFormat) s, font, color, bounds, strFormatInfo Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the specified formatting attributes.
DrawString(String, Font, Color, RectangleF, StringFormatInfo) s, font, foreColor, bounds, format Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the specified formatting attributes.
DrawString(String, Font, Color, RectangleF, StringFormat) s, font, foreColor, bounds, format Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.