Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FontStyle enumeration specifies the style of the typeface of a font. Styles can be combined.
Syntax
typedef enum FontStyle {
FontStyleRegular = 0,
FontStyleBold = 1,
FontStyleItalic = 2,
FontStyleBoldItalic = 3,
FontStyleUnderline = 4,
FontStyleStrikeout = 8
} ;
Constants
FontStyleRegularValue: 0 Specifies normal weight or thickness of the typeface. |
FontStyleBoldValue: 1 Specifies bold typeface. Bold is a heavier weight or thickness. |
FontStyleItalicValue: 2 Specifies italic typeface, which produces a noticeable slant to the vertical stems of the characters. |
FontStyleBoldItalicValue: 3 Specifies the typeface as both bold and italic. |
FontStyleUnderlineValue: 4 Specifies underline, which displays a line underneath the baseline of the characters. |
FontStyleStrikeoutValue: 8 Specifies strikeout, which displays a horizontal line drawn through the middle of the characters. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |