Export (0) Print
Expand All

TextRenderer Methods

The TextRenderer type exposes the following members.

  NameDescription
Public method Static member DrawText(IDeviceContext, String, Font, Point, Color) Draws the specified text at the specified location using the specified device context, font, and color.
Public method Static member DrawText(IDeviceContext, String, Font, Rectangle, Color) Draws the specified text within the specified bounds, using the specified device context, font, and color.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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.
Public method Static member 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
Public method Static member 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.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member MeasureText(String, Font) Provides the size, in pixels, of the specified text when drawn with the specified font.
Public method Static member MeasureText(IDeviceContext, String, Font) Provides the size, in pixels, of the specified text drawn with the specified font in the specified device context.
Public method Static member MeasureText(String, Font, Size) Provides the size, in pixels, of the specified text when drawn with the specified font, using the specified size to create an initial bounding rectangle.
Public method Static member MeasureText(IDeviceContext, String, Font, Size) Provides the size, in pixels, of the specified text when drawn with the specified font in the specified device context, using the specified size to create an initial bounding rectangle for the text.
Public method Static member MeasureText(String, Font, Size, TextFormatFlags) Provides the size, in pixels, of the specified text when drawn with the specified font and formatting instructions, using the specified size to create the initial bounding rectangle for the text.
Public method Static member MeasureText(IDeviceContext, String, Font, Size, TextFormatFlags) Provides the size, in pixels, of the specified text when drawn with the specified device context, font, and formatting instructions, using the specified size to create the initial bounding rectangle for the text.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft