ControlPaint.DrawStringDisabled 메서드

정의

지정된 문자열을 비활성 상태로 그립니다.

오버로드

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

지정된 그래픽 표면의 지정된 범위 내에 지정된 글꼴, 색 및 형식을 사용하여 지정된 문자열을 비활성 상태로 그립니다.

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

지정된 그래픽 표면의 지정된 범위 내에 지정된 글꼴, 색 및 형식과 지정된 GDI 기반 TextRenderer를 사용하여 지정된 문자열을 비활성 상태로 그립니다.

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

지정된 그래픽 표면의 지정된 범위 내에 지정된 글꼴, 색 및 형식을 사용하여 지정된 문자열을 비활성 상태로 그립니다.

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)

매개 변수

graphics
Graphics

그릴 Graphics입니다.

s
String

그릴 문자열입니다.

font
Font

문자열을 그리는 데 사용할 Font입니다.

color
Color

문자열 뒤에 나타나는 배경의 Color입니다.

layoutRectangle
RectangleF

문자열의 크기를 나타내는 RectangleF입니다.

format
StringFormat

문자열에 적용할 StringFormat입니다.

적용 대상

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

지정된 그래픽 표면의 지정된 범위 내에 지정된 글꼴, 색 및 형식과 지정된 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)

매개 변수

dc
IDeviceContext

GDI 기반 TextRenderer입니다.

s
String

그릴 문자열입니다.

font
Font

문자열을 그리는 데 사용할 Font입니다.

color
Color

문자열 뒤에 나타나는 배경의 Color입니다.

layoutRectangle
Rectangle

문자열의 크기를 나타내는 RectangleF입니다.

format
TextFormatFlags

문자열에 적용할 StringFormat입니다.

적용 대상