FontStretch.FromOpenTypeStretch(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個對應 OpenType usStretchClass 值的新實例 FontStretch 。
public:
static System::Windows::FontStretch FromOpenTypeStretch(int stretchValue);
public static System.Windows.FontStretch FromOpenTypeStretch(int stretchValue);
static member FromOpenTypeStretch : int -> System.Windows.FontStretch
Public Shared Function FromOpenTypeStretch (stretchValue As Integer) As FontStretch
參數
- stretchValue
- Int32
一個介於 1 到 9 之間的整數值,對應於 OpenType 規範中的 usStretchValue 定義。
傳回
一個新的實例。FontStretch