FontWeight.FromOpenTypeWeight(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
OpenType usWeightClass
値に対応する新しいインスタンスFontWeightを作成します。
public:
static System::Windows::FontWeight FromOpenTypeWeight(int weightValue);
public static System.Windows.FontWeight FromOpenTypeWeight (int weightValue);
static member FromOpenTypeWeight : int -> System.Windows.FontWeight
Public Shared Function FromOpenTypeWeight (weightValue As Integer) As FontWeight
パラメーター
- weightValue
- Int32
OpenType 仕様の usWeightClass
定義に対応する 1 ~ 999 の整数値。
戻り値
FontWeight の新しいインスタンス。
注釈
OpenType 値の詳細については、OpenType usWeightClass
仕様の usWeightClass セクションを参照してください。