[]
Gets the theme font for the specified FontLanguageIndex.
Use this indexer to access the theme font for a specific language category in the current theme font collection, such as Latin, EastAsian, or ComplexScript. This collection is typically obtained from Major or Minor.
IThemeFont this[FontLanguageIndex index] { get; }
ReadOnly Default Property Item(index As FontLanguageIndex) As IThemeFont
| Type | Name | Description |
|---|---|---|
| FontLanguageIndex | index | Specifies the FontLanguageIndex. |
IThemeFonts themeFonts = workbook.Theme.ThemeFontScheme.Major;
IThemeFont latinFont = themeFonts[FontLanguageIndex.Latin];
string fontName = latinFont.Name;