Spread WPF 18
GrapeCity.Spreadsheet Namespace / FontStyle Enumeration


In This Topic
    FontStyle Enumeration
    In This Topic
    Represents the style of the typeface of a font.
    Syntax
    'Declaration
     
    <FlagsAttribute()>
    Public Enum FontStyle 
       Inherits System.Enum
    'Usage
     
    Dim instance As FontStyle
    [Flags()]
    public enum FontStyle : System.Enum 
    Members
    MemberDescription
    BoldSpecifies bold typeface. Bold is a heavier weight or thickness.
    CondenseMacintosh compatibility setting. Represents special word/character rendering on Macintosh, when this flag is set. The effect is to condense the text (squeeze it together). SpreadsheetML applications are not required to render according to this flag.
    ExtendSpecifies a compatibility setting used for previous spreadsheet applications, resulting in special word/character rendering on those legacy applications, when this flag is set. The effect extends or stretches out the text. SpreadsheetML applications are not required to render according to this flag.
    ItalicSpecifies italic typeface, which produces a noticeable slant to the vertical stems of the characters.
    OutlineThis element displays only the inner and outer borders of each character. This is very similar to Bold in behavior.
    RegularSpecifies normal weight or thickness of the typeface.
    ShadowMacintosh compatibility setting. Represents special word/character rendering on Macintosh, when this flag is set. The effect is to render a shadow behind, beneath and to the right of the text. SpreadsheetML applications are not required to render according to this flag.
    StrikethroughSpecifies strike through, which displays a horizontal line drawn through the middle of the characters.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Spreadsheet.FontStyle

    See Also