[]
Represents a theme font.
A theme font defines the font name and language category used by a workbook theme. It is typically accessed from a workbook's Theme through its IThemeFontScheme and IThemeFonts collections.
public interface IThemeFont
Public Interface IThemeFont
ITheme theme = new Theme("CustomTheme", Themes.Berlin);
workbook.Theme = theme;
IThemeFont themeFont = theme.ThemeFontScheme.Major[FontLanguageIndex.Latin];
themeFont.Name = "Aptos";
string fontName = themeFont.Name;
| Name | Description |
|---|---|
| FontLanguageIndex | Gets the font language type of the theme font. |
| Name | Gets or sets the name of the theme font. Use this property to get or set the font family name assigned to the current theme font entry. |