System.Windows.Forms.TextRenderer Members

The members of System.Windows.Forms.TextRenderer are listed below.

See Also: Inherited members from System.Object

Public Methods

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Point, System.Drawing.Color)

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

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Rectangle, System.Drawing.Color)

Draws the specified text within the specified bounds, using the specified device context, font, and color.

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Point, System.Drawing.Color, System.Drawing.Color)

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

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Point, System.Drawing.Color, TextFormatFlags)

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

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Rectangle, System.Drawing.Color, System.Drawing.Color)

Draws the specified text within the specified bounds using the specified device context, font, color, and back color.

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Rectangle, System.Drawing.Color, TextFormatFlags)

Draws the specified text within the specified bounds using the specified device context, font, color, and formatting instructions.

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Point, System.Drawing.Color, System.Drawing.Color, TextFormatFlags)

Draws the specified text at the specified location using the specified device context, font, color, back color, and formatting instructions

static
DrawText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Rectangle, System.Drawing.Color, System.Drawing.Color, TextFormatFlags)

Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.

static
MeasureText(string, System.Drawing.Font) : System.Drawing.Size

Provides the size, in pixels, of the specified text when drawn with the specified font.

static
MeasureText(System.Drawing.IDeviceContext, string, System.Drawing.Font) : System.Drawing.Size

Provides the size, in pixels, of the specified text drawn with the specified font in the specified device context.

static
MeasureText(string, System.Drawing.Font, System.Drawing.Size) : System.Drawing.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.

static
MeasureText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Size) : System.Drawing.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.

static
MeasureText(string, System.Drawing.Font, System.Drawing.Size, TextFormatFlags) : System.Drawing.Size

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.

static
MeasureText(System.Drawing.IDeviceContext, string, System.Drawing.Font, System.Drawing.Size, TextFormatFlags) : System.Drawing.Size

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.