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

설명

글꼴 늘이기 값은 글꼴 폼이 일반 가로 세로 비율에서 확장되는 정도를 설명합니다. 이 비율은 글꼴의 문자 모양에 지정된 원래 너비 대 높이 비율입니다.

적용 대상