ControlPaint.DrawStringDisabled メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ControlPaint.DrawStringDisabled メソッドの意味・解説 

ControlPaint.DrawStringDisabled メソッド (Graphics, String, Font, Color, RectangleF, StringFormat)

指定した文字列を、無効状態で、指定したグラフィックス表面、および指定した境界内に、指定したフォント、色、および書式使用して描画ます。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared Sub DrawStringDisabled
 ( _
    graphics As Graphics, _
    s As String, _
    font As Font, _
    color As Color, _
    layoutRectangle As RectangleF, _
    format As StringFormat _
)
Dim graphics As Graphics
Dim s As String
Dim font As Font
Dim color As Color
Dim layoutRectangle As RectangleF
Dim format As StringFormat

ControlPaint.DrawStringDisabled(graphics, s, font, color, layoutRectangle, format)
public static void DrawStringDisabled
 (
    Graphics graphics,
    string s,
    Font font,
    Color color,
    RectangleF layoutRectangle,
    StringFormat format
)
public:
static void DrawStringDisabled (
    Graphics^ graphics, 
    String^ s, 
    Font^ font, 
    Color color, 
    RectangleF layoutRectangle, 
    StringFormat^ format
)
public static void DrawStringDisabled
 (
    Graphics graphics, 
    String s, 
    Font font, 
    Color color, 
    RectangleF layoutRectangle, 
    StringFormat format
)
public static function DrawStringDisabled
 (
    graphics : Graphics, 
    s : String, 
    font : Font, 
    color : Color, 
    layoutRectangle : RectangleF, 
    format : StringFormat
)

パラメータ

graphics

描画する Graphics

s

描画する文字列

font

文字列描画するための Font

color

文字列背景Color

layoutRectangle

文字列大きさを表す RectangleF。

format

文字列適用される StringFormat。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

ControlPaint.DrawStringDisabled メソッド (IDeviceContext, String, Font, Color, Rectangle, TextFormatFlags)

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

指定した文字列を、指定した GDI ベースTextRenderer使用して無効状態で、指定したグラフィックス表面、および指定した境界内に、指定したフォント、色、および書式使用して描画ます。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared Sub DrawStringDisabled
 ( _
    dc As IDeviceContext, _
    s As String, _
    font As Font, _
    color As Color, _
    layoutRectangle As Rectangle, _
    format As TextFormatFlags _
)
Dim dc As IDeviceContext
Dim s As String
Dim font As Font
Dim color As Color
Dim layoutRectangle As Rectangle
Dim format As TextFormatFlags

ControlPaint.DrawStringDisabled(dc, s, font, color, layoutRectangle, format)
public static void DrawStringDisabled
 (
    IDeviceContext dc,
    string s,
    Font font,
    Color color,
    Rectangle layoutRectangle,
    TextFormatFlags format
)
public:
static void DrawStringDisabled (
    IDeviceContext^ dc, 
    String^ s, 
    Font^ font, 
    Color color, 
    Rectangle layoutRectangle, 
    TextFormatFlags format
)
public static void DrawStringDisabled
 (
    IDeviceContext dc, 
    String s, 
    Font font, 
    Color color, 
    Rectangle layoutRectangle, 
    TextFormatFlags format
)
public static function DrawStringDisabled
 (
    dc : IDeviceContext, 
    s : String, 
    font : Font, 
    color : Color, 
    layoutRectangle : Rectangle, 
    format : TextFormatFlags
)

パラメータ

dc

GDI ベースの TextRenderer。

s

描画する文字列

font

文字列描画するための Font

color

文字列背景Color

layoutRectangle

文字列大きさを表す RectangleF。

format

文字列適用される StringFormat。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

ControlPaint.DrawStringDisabled メソッド

指定した文字列無効状態で描画ます。
オーバーロードの一覧オーバーロードの一覧

名前 説明
ControlPaint.DrawStringDisabled (Graphics, String, Font, Color, RectangleF, StringFormat) 指定した文字列を、無効状態で、指定したグラフィックス表面、および指定した境界内に、指定したフォント、色、および書式使用して描画ます。
ControlPaint.DrawStringDisabled (IDeviceContext, String, Font, Color, Rectangle, TextFormatFlags) 指定した文字列を、指定した GDI ベースの TextRenderer を使用して無効状態で、指定したグラフィックス表面、および指定した境界内に、指定したフォント、色、および書式使用して描画ます。
参照参照

関連項目

ControlPaint クラス
ControlPaint メンバ
System.Windows.Forms 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ControlPaint.DrawStringDisabled メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ControlPaint.DrawStringDisabled メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS