[]
public class Theme : ITheme
Constructor. Creates a new theme based on the given theme, if the given theme is null (Nothing in Visual Basic), then the theme is based on the office theme.
public Theme(string themeName, ITheme baseTheme = null)
themeName
stringThe new theme name.
baseTheme
IThemeThe theme name the theme is based on.
Gets whether the theme is a built-in theme.
public bool IsBuiltIn { get; }
Gets the name of the theme.
public string Name { get; set; }
Represents a color scheme within the theme.
public IThemeColorScheme ThemeColorScheme { get; set; }
The color scheme.
Represents a font scheme within the theme.
public IThemeFontScheme ThemeFontScheme { get; set; }
The font scheme.