Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TextRenderer.DrawText Method

Draws the specified text at the specified location, using the specified device context, color, and font.

Name Description
TextRenderer.DrawText (IDeviceContext, String, Font, Point, Color) Draws the specified text at the specified location using the specified device context, font, and color.
TextRenderer.DrawText (IDeviceContext, String, Font, Rectangle, Color) Draws the specified text within the specified bounds, using the specified device context, font, and color.
TextRenderer.DrawText (IDeviceContext, String, Font, Point, Color, Color) Draws the specified text at the specified location, using the specified device context, font, color, and back color.
TextRenderer.DrawText (IDeviceContext, String, Font, Point, Color, TextFormatFlags) Draws the specified text at the specified location using the specified device context, font, color, and formatting instructions.
TextRenderer.DrawText (IDeviceContext, String, Font, Rectangle, Color, Color) Draws the specified text within the specified bounds using the specified device context, font, color, and back color.
TextRenderer.DrawText (IDeviceContext, String, Font, Rectangle, Color, TextFormatFlags) Draws the specified text within the specified bounds using the specified device context, font, color, and formatting instructions.
TextRenderer.DrawText (IDeviceContext, String, Font, Point, Color, Color, TextFormatFlags) Draws the specified text at the specified location using the specified device context, font, color, back color, and formatting instructions
TextRenderer.DrawText (IDeviceContext, String, Font, Rectangle, Color, Color, TextFormatFlags) Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.

Community Additions

ADD
Show:
© 2015 Microsoft