Namespace EasyXLS.Themes

Class ExcelFontScheme

System.Object
EasyXLS.Themes.ExcelFontScheme

public class ExcelFontScheme extends System.Object
This class stores the font information for a theme.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Defines a font scheme that is initialized with the built-in Office fonts.
    ExcelFontScheme​(System.String builtInThemeFonts)
    Defines a font scheme that is initialized with the specified built-in theme fonts.
  • Method Summary

    Modifier and Type
    Method
    Description
    System.String
    Returns the name of the body font.
    System.String
    Returns the name of the heading font.
    System.String
    Returns the name of the font scheme.
    void
    InitAs​(System.String builtInThemeFonts)
    Initializes a font scheme with the specified built-in theme fonts.
    void
    setBodyFont​(System.String font)
    Sets the name of the body font.
    void
    setHeadingFont​(System.String font)
    Sets the name of the heading font.
    void
    setName​(System.String name)
    Sets the name of the font scheme.

    Methods inherited from class System.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExcelFontScheme

      public ExcelFontScheme()
      Defines a font scheme that is initialized with the built-in Office fonts.
    • ExcelFontScheme

      public ExcelFontScheme(System.String builtInThemeFonts)
      Defines a font scheme that is initialized with the specified built-in theme fonts.
      Parameters:
      builtInThemeFonts - the built-in theme fonts. Possible values are available in Theme class.
  • Method Details