Typeface.Stretch プロパティ

定義

Typefaceのストレッチ値を取得します。 ストレッチ値は、書体が表示されるときに展開されるか、または縮小されるかを決定します。

public:
 property System::Windows::FontStretch Stretch { System::Windows::FontStretch get(); };
public System.Windows.FontStretch Stretch { get; }
member this.Stretch : System.Windows.FontStretch
Public ReadOnly Property Stretch As FontStretch

プロパティ値

書体のストレッチ値を表す FontStretch 値。

// Get the font stretch value for the typeface.
FontStretch fontStretch = typeface.Stretch;

if (fontStretch == FontStretches.Condensed)
{
    // Perform action based on condensed stretch value.
}
' Get the font stretch value for the typeface.
Dim fontStretch As FontStretch = typeface.Stretch

If fontStretch = FontStretches.Condensed Then
    ' Perform action based on condensed stretch value.
End If

注釈

フォント のストレッチ値は、フォント フォームが通常の縦横比 (フォントのグリフに指定された元の幅と高さの比率) から引き伸ばされる度合いを表します。

適用対象