言語

FontWeight.FromOpenTypeWeight(Int32) メソッド

定義

OpenType FontWeight 値に対応するusWeightClassの新しいインスタンスを作成します。

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 usWeightClass 値の詳細については、OpenType 仕様の usWeightClass セクションを参照してください。

適用対象