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 SummaryConstructorsConstructorDescriptionDefines 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 SummaryModifier and TypeMethodDescriptionSystem.StringReturns the name of the body font.System.StringReturns the name of the heading font.System.StringgetName()Returns the name of the font scheme.voidInitAs(System.String builtInThemeFonts) Initializes a font scheme with the specified built-in theme fonts.voidsetBodyFont(System.String font) Sets the name of the body font.voidsetHeadingFont(System.String font) Sets the name of the heading font.voidsetName(System.String name) Sets the name of the font scheme.Methods inherited from class System.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
ExcelFontSchemepublic ExcelFontScheme()Defines a font scheme that is initialized with the built-in Office fonts.
- 
ExcelFontSchemepublic 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- Themeclass.
 
 
- 
- 
Method Details- 
InitAspublic void InitAs(System.String builtInThemeFonts) Initializes a font scheme with the specified built-in theme fonts.- Parameters:
- builtInThemeFonts- the built-in theme fonts. Possible values are available in- Themeclass.
 
- 
getNamepublic System.String getName()Returns the name of the font scheme.- Returns:
- the name of the font scheme
- See Also:
 
- 
setNamepublic void setName(System.String name) Sets the name of the font scheme.- Parameters:
- name- the name of the font scheme
- See Also:
 
- 
getHeadingFontpublic System.String getHeadingFont()Returns the name of the heading font.- Returns:
- the name of the heading font
- See Also:
 
- 
setHeadingFontpublic void setHeadingFont(System.String font) Sets the name of the heading font.- Parameters:
- font- the name of the heading font
- See Also:
 
- 
getBodyFontpublic System.String getBodyFont()Returns the name of the body font.- Returns:
- the name of the body font
- See Also:
 
- 
setBodyFontpublic void setBodyFont(System.String font) Sets the name of the body font.- Parameters:
- font- the name of the body font
- See Also:
 
 
-