FontStretch.FromOpenTypeStretch(Int32) メソッド

定義

OpenTypeOpenType usStretchClass 値に対応する FontStretch の新しいインスタンスを作成します。Creates a new instance of FontStretch that corresponds to the OpenTypeOpenType usStretchClass value.

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

OpenTypeOpenType 仕様の usStretchValue 定義に対応する 1 ~ 9 の間の整数値。An integer value between one and nine that corresponds to the usStretchValue definition in the OpenTypeOpenType specification.

戻り値

FontStretch の新しいインスタンス。A new instance of FontStretch.

適用対象