March 2003
Intermediate to advanced
896 pages
32h 35m
English
FontStyle
This enumeration provides a set of style modifiers that can be used
on a Font. Because it is marked with the
FlagsAttribute, you can combine several values
using the bitwise operator (e.g., | ) to generate
compound styles such as (Bold | Italic).
public enum FontStyle { Regular = 0x00000000, Bold = 0x00000001, Italic = 0x00000002, Underline = 0x00000004, Strikeout = 0x00000008 }
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable,
System.IConvertible)
→ FontStyle
Font.Style
Font.Font(), FontFamily.{GetCellAscent(), GetCellDescent(),
GetEmHeight(), GetLineSpacing(), IsStyleAvailable()}
Read now
Unlock full access