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 } HierarchySystem.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) FontStyle Returned ByFont.Style Passed ToFont.Font() , FontFamily.{GetCellAscent() , GetCellDescent() , GetEmHeight() , GetLineSpacing() , IsStyleAvailable()} |