Editar

Partilhar via


FontStyles.Oblique Property

Definition

Specifies an oblique FontStyle.

public:
 static property System::Windows::FontStyle Oblique { System::Windows::FontStyle get(); };
public static System.Windows.FontStyle Oblique { get; }
static member Oblique : System.Windows.FontStyle
Public Shared ReadOnly Property Oblique As FontStyle

Property Value

A value that represents an oblique FontStyle.

Examples

In the following code example, the Oblique property is used to return a FontStyle.

FontStyle fontStyle = FontStyles.Oblique;
Dim fontStyle As FontStyle = FontStyles.Oblique

Remarks

The characters in an oblique font are artificially slanted. The slant is achieved by performing a shear transformation on the characters from a normal font. When a true italic font is not available on a computer or printer, an oblique style can be generated from the normal font and used to simulate an italic font.

Applies to