ControlPaint.DrawStringDisabled Método

Definición

Dibuja la cadena especificada en un estado deshabilitado.

Sobrecargas

DrawStringDisabled(Graphics, String, Font, Color, RectangleF, StringFormat)

Dibuja la cadena especificada en un estado deshabilitado, en la superficie gráfica indicada, dentro de los límites establecidos y con la fuente, el color y el formato especificados.

DrawStringDisabled(IDeviceContext, String, Font, Color, Rectangle, TextFormatFlags)

Dibuja la cadena especificada en un estado deshabilitado, en la superficie gráfica establecida, dentro de los límites indicados y con la fuente, el color y el formato especificados mediante el control basado en GDI TextRenderer.

DrawStringDisabled(Graphics, String, Font, Color, RectangleF, StringFormat)

Dibuja la cadena especificada en un estado deshabilitado, en la superficie gráfica indicada, dentro de los límites establecidos y con la fuente, el color y el formato especificados.

public:
 static void DrawStringDisabled(System::Drawing::Graphics ^ graphics, System::String ^ s, System::Drawing::Font ^ font, System::Drawing::Color color, System::Drawing::RectangleF layoutRectangle, System::Drawing::StringFormat ^ format);
public static void DrawStringDisabled (System.Drawing.Graphics graphics, string s, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.RectangleF layoutRectangle, System.Drawing.StringFormat format);
static member DrawStringDisabled : System.Drawing.Graphics * string * System.Drawing.Font * System.Drawing.Color * System.Drawing.RectangleF * System.Drawing.StringFormat -> unit
Public Shared Sub DrawStringDisabled (graphics As Graphics, s As String, font As Font, color As Color, layoutRectangle As RectangleF, format As StringFormat)

Parámetros

graphics
Graphics

Graphics donde se va a dibujar.

s
String

Cadena que se va a dibujar.

font
Font

Font con que se va a dibujar la cadena.

color
Color

La estructura Color del fondo que está detrás de la cadena.

layoutRectangle
RectangleF

RectangleF que representa las dimensiones de la cadena.

format
StringFormat

StringFormat que se va a aplicar a la cadena.

Se aplica a

DrawStringDisabled(IDeviceContext, String, Font, Color, Rectangle, TextFormatFlags)

Dibuja la cadena especificada en un estado deshabilitado, en la superficie gráfica establecida, dentro de los límites indicados y con la fuente, el color y el formato especificados mediante el control basado en GDI TextRenderer.

public:
 static void DrawStringDisabled(System::Drawing::IDeviceContext ^ dc, System::String ^ s, System::Drawing::Font ^ font, System::Drawing::Color color, System::Drawing::Rectangle layoutRectangle, System::Windows::Forms::TextFormatFlags format);
public static void DrawStringDisabled (System.Drawing.IDeviceContext dc, string s, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.Rectangle layoutRectangle, System.Windows.Forms.TextFormatFlags format);
static member DrawStringDisabled : System.Drawing.IDeviceContext * string * System.Drawing.Font * System.Drawing.Color * System.Drawing.Rectangle * System.Windows.Forms.TextFormatFlags -> unit
Public Shared Sub DrawStringDisabled (dc As IDeviceContext, s As String, font As Font, color As Color, layoutRectangle As Rectangle, format As TextFormatFlags)

Parámetros

dc
IDeviceContext

El control TextRenderer basado en GDI.

s
String

Cadena que se va a dibujar.

font
Font

Font con que se va a dibujar la cadena.

color
Color

La estructura Color del fondo que está detrás de la cadena.

layoutRectangle
Rectangle

RectangleF que representa las dimensiones de la cadena.

format
TextFormatFlags

StringFormat que se va a aplicar a la cadena.

Se aplica a