FontWeight.FromOpenTypeWeight(Int32) メソッド
定義
OpenTypeOpenType usWeightClass
値に対応する FontWeight の新しいインスタンスを作成します。Creates a new instance of FontWeight that corresponds to the OpenTypeOpenType usWeightClass
value.
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
OpenTypeOpenType 仕様の usWeightClass
定義に対応する 1 - 999 の整数値。An integer value between 1 and 999 that corresponds to the usWeightClass
definition in the OpenTypeOpenType specification.
戻り値
FontWeight の新しいインスタンス。A new instance of FontWeight.
注釈
OpenType 値の詳細については、 usWeightClass
opentype 仕様の usWeightClass のセクションを参照してください。For more information about the OpenType usWeightClass
value, see the usWeightClass section of the OpenType specification.