Nyelv

ControlPaint.DrawStringDisabled Metódus

Definíció

Letiltott állapotban rajzolja meg a megadott sztringet.

Túlterhelések

Név Description
DrawStringDisabled(Graphics, String, Font, Color, RectangleF, StringFormat)

A megadott sztringet letiltott állapotban rajzolja meg a megadott grafikus felületen; a megadott határokon belül; és a megadott betűtípusban, színben és formátumban.

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

A megadott sztringet letiltott állapotban rajzolja meg a megadott grafikus felületen, a megadott korlátokon belül, a megadott betűtípusban, színben és formátumban, a megadott GDI-alapú TextRendererhasználatával.

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

Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs

A megadott sztringet letiltott állapotban rajzolja meg a megadott grafikus felületen; a megadott határokon belül; és a megadott betűtípusban, színben és formátumban.

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)

Paraméterek

graphics
Graphics

A Graphics rajzolás.

s
String

A rajzolni kívánt sztring.

font
Font

A Font sztring rajzolásához.

color
Color

A Color sztring mögötti háttér.

layoutRectangle
RectangleF

A RectangleF sztring dimenzióit jelképező érték.

format
StringFormat

A StringFormat sztringre alkalmazandó.

A következőre érvényes:

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

Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs
Forrás:
ControlPaint.cs

A megadott sztringet letiltott állapotban rajzolja meg a megadott grafikus felületen, a megadott korlátokon belül, a megadott betűtípusban, színben és formátumban, a megadott GDI-alapú TextRendererhasználatával.

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)

Paraméterek

dc
IDeviceContext

A GDI-alapú TextRenderer.

s
String

A rajzolni kívánt sztring.

font
Font

A Font sztring rajzolásához.

color
Color

A Color sztring mögötti háttér.

layoutRectangle
Rectangle

A RectangleF sztring dimenzióit jelképező érték.

format
TextFormatFlags

A StringFormat sztringre alkalmazandó.

A következőre érvényes: