Skip to main content

AppearanceObject.DrawString Method

Name Parameters Description
DrawString(GraphicsCache, String, Rectangle, StringFormatInfo) cache, text, bounds, format Draws the specified text string in the specified rectangle using the specified formatting attributes.
DrawString(GraphicsCache, String, Rectangle, Brush, StringFormatInfo) cache, text, bounds, foreBrush, format Draws the specified text string in the specified rectangle using the specified formatting attributes.
DrawString(GraphicsCache, String, Rectangle, Brush, StringFormat) cache, text, bounds, foreBrush, format Draws a text string at the specified position using the specified color and format.
DrawString(GraphicsCache, String, Rectangle, Brush) cache, text, bounds, foreBrush Draws a text string at the specified position using the specified color.
DrawString(GraphicsCache, String, Rectangle, Color, StringFormatInfo) cache, s, bounds, foreColor, strFormat Draws the specified text string in the specified rectangle with the specified Color using the formatting attributes.
DrawString(GraphicsCache, String, Rectangle, Color, TextOptions) cache, text, bounds, foreColor, defaultOptions Draws the specified text string in the specified rectangle with the specified Color using the specified TextOptions.
DrawString(GraphicsCache, String, Rectangle, Color, StringFormat) cache, s, bounds, foreColor, strFormat Draws the specified text string in the specified rectangle with the specified Color using the formatting attributes of the specified StringFormat.
DrawString(GraphicsCache, String, Rectangle, Font, StringFormatInfo) cache, text, bounds, font, format Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes.
DrawString(GraphicsCache, String, Rectangle, Font, Brush, StringFormatInfo) cache, s, bounds, font, foreBrush, strFormat Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes.
DrawString(GraphicsCache, String, Rectangle, Font, Brush, StringFormat) cache, s, bounds, font, foreBrush, strFormat Draws a text string at the specified position using the specified font, color and format.
DrawString(GraphicsCache, String, Rectangle, Font, Color, StringFormatInfo) cache, s, bounds, font, foreColor, strFormat Draws the specified text string in the specified rectangle with the specified Font using the specified formatting attributes.
DrawString(GraphicsCache, String, Rectangle, Font, Color, StringFormat) cache, s, bounds, font, foreColor, strFormat Draws the specified text string at the specified location with the specified Color and Font objects using the formatting attributes of the specified StringFormat.
DrawString(GraphicsCache, String, Rectangle, Font, StringFormat) cache, text, bounds, font, format Draws a text string at the specified position using the specified font and format.
DrawString(GraphicsCache, String, Rectangle, StringFormat) cache, text, bounds, format Draws a text string at the specified position using the specified format.
DrawString(GraphicsCache, String, Rectangle) cache, text, bounds Draws a text string at the specified position.