[]
Contains the theme information.
An ITheme describes a workbook theme, including its name, whether it is
built in, and the associated IThemeColorScheme and IThemeFontScheme.
public interface ITheme
Public Interface ITheme
ITheme theme = new Theme("Custom Theme", Themes.Berlin);
string name = theme.Name;
bool builtIn = theme.IsBuiltIn;
IThemeColorScheme colorScheme = theme.ThemeColorScheme;
IThemeFontScheme fontScheme = theme.ThemeFontScheme;
| Name | Description |
|---|---|
| IsBuiltIn | Gets whether the theme is a built-in theme.
Built-in themes are the predefined themes returned by the Themes
utility methods. Custom themes created programmatically return |
| Name | Gets the name of the theme. The returned name identifies the current theme and can be used to look up a theme from the Themes collection. |
| ThemeColorScheme | Gets the color scheme within the theme. Represents a color scheme within the theme and provides access to the theme colors by IThemeColor. |
| ThemeFontScheme | Gets the font scheme within the theme. Represents the theme font scheme and provides access to the major and minor theme font collections through Major and Minor. |