FontStretch.FromOpenTypeStretch(Int32) 方法

定義

建立對應至 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

一到九之間的整數值,對應至 OpenType 規格中的 usStretchValue 定義。

傳回

FontStretch 的新執行個體。

適用於