FontWeight.FromOpenTypeWeight(Int32) 메서드

정의

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

FontWeight의 새 인스턴스입니다.

설명

OpenType에 대 한 자세한 usWeightClass 값을 참조 합니다 usWeightClass OpenType 사양 섹션.

적용 대상