FontStyles.Oblique Property


Specifies an oblique FontStyle.

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

Property Value

A value that represents an oblique FontStyle.


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

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


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