バージョン 24.2 (最新)

FormatStringFromFontStyle メソッド

ApplyStyle がフォント スタイル (太字、斜体、など) を適用するために使用する文字列を返します。
シンタックス
public static string FormatStringFromFontStyle( 
   FontStyle fontStyle
)

パラメータ

fontStyle
文字列値が返されるSystem.Drawing.FontStyle 値。

戻り値の型

ApplyStyle メソッドに互換性のある文字列。
参照