FontWeight.FromOpenTypeWeight(Int32) 메서드

정의

FontWeightOpenType usWeightClass 값에 해당 하는의 새 인스턴스를 만듭니다.Creates a new instance of FontWeight that corresponds to the OpenType 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

OpenType 사양의 usWeightClass 정의에 해당 하는 1에서 999 사이의 정수 값입니다.An integer value between 1 and 999 that corresponds to the usWeightClass definition in the OpenType specification.

반환

FontWeight

FontWeight의 새 인스턴스입니다.A new instance of FontWeight.

설명

OpenType에 대 한 자세한 usWeightClass 값을 참조 합니다 usWeightClass OpenType 사양 섹션.For more information about the OpenType usWeightClass value, see the usWeightClass section of the OpenType specification.

적용 대상