#265 – Specifying Values for FontStyle
April 3, 2011 Leave a comment
You can specify a number of different values for the FontStyle property of a Control, to indicate whether you want an italic (slanted letters) style.
The different possible values for FontStyle are:
- Normal – Regular text, not slanted
- Italic – Standard italic font
- Oblique – Slant the letters so that they appear italic.
The Oblique choice is typically used when the font being used doesn’t have an italic variant.
The three font style choices are shown below, for the Arial typeface. (Arial does have an italic variant).
Here’s another example, for the Georgia typeface. Notice that the Italic version looks a little more professional, while the Oblique variant just slants the letters, relative to the Normal style.