FontStretch.FromOpenTypeStretch(Int32) Metoda

Definice

Vytvoří novou instanci FontStretch , která odpovídá hodnotě OpenType usStretchClass.

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

Parametry

stretchValue
Int32

Celočíselná hodnota mezi 1 a devíti, která odpovídá definici usStretchValue ve specifikaci OpenType.

Návraty

FontStretch

Nová instance .FontStretch

Platí pro