[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IThemeFonts.Item

this Property

this[FontLanguageIndex]

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.

Declaration
IThemeFont this[FontLanguageIndex index] { get; }
ReadOnly Default Property Item(index As FontLanguageIndex) As IThemeFont
Parameters
Type Name Description
FontLanguageIndex index

Specifies the FontLanguageIndex.

Examples
IThemeFonts themeFonts = workbook.Theme.ThemeFontScheme.Major;
IThemeFont latinFont = themeFonts[FontLanguageIndex.Latin];
string fontName = latinFont.Name;