Typeface.Style 속성

정의

Typeface의 스타일을 가져옵니다.

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

속성 값

서체의 스타일 값을 나타내는 FontStyle 값입니다.

예제

// Get the font style value for the typeface.
FontStyle fontStyle = typeface.Style;

if (fontStyle == FontStyles.Italic)
{
    // Perform action based on italic style value.
}
' Get the font style value for the typeface.
Dim fontStyle As FontStyle = typeface.Style

If fontStyle = FontStyles.Italic Then
    ' Perform action based on italic style value.
End If

설명

글꼴의 기울기를 분류 하는 세 가지 조건: 정상, 오블리크 및 기울임꼴 합니다.

적용 대상