[]
Specifies the font theme to use.
An IThemeFontScheme represents the font scheme of a workbook theme and
provides access to the major and minor theme font collections through
Major and Minor.
public interface IThemeFontScheme
Public Interface IThemeFontScheme
IThemeFontScheme fontScheme = workbook.Theme.ThemeFontScheme;
IThemeFonts majorFonts = fontScheme.Major;
IThemeFonts minorFonts = fontScheme.Minor;
IThemeFont majorLatinFont = majorFonts[FontLanguageIndex.Latin];
| Name | Description |
|---|---|
| Major | Gets the major font collection used by the theme. Gets the collection of major theme fonts for different language categories. Major theme fonts are used by the workbook theme for content that follows the theme's major font settings. |
| Minor | Gets the minor font collection used by the theme. Uses the minor font and returns the IThemeFonts collection that contains the theme fonts for different language categories, such as Latin, EastAsian, and ComplexScript. |