[]
Specifies the font language type.
Use this enum to select the Latin, EastAsian, or ComplexScript theme font from an IThemeFonts collection. It is commonly used with this[FontLanguageIndex] and returned by FontLanguageIndex.
public enum FontLanguageIndex
Public Enum FontLanguageIndex
ITheme theme = new Theme("CustomTheme", Themes.Berlin);
workbook.Theme = theme;
IThemeFont latinFont = theme.ThemeFontScheme.Major[FontLanguageIndex.Latin];
latinFont.Name = "Aptos";
IThemeFont eastAsianFont = theme.ThemeFontScheme.Major[FontLanguageIndex.EastAsian];
eastAsianFont.Name = "MS Gothic";
| Name | Description |
|---|---|
| ComplexScript | Specifies the complex script. |
| EastAsian | Specifies the EastAsian language. |
| Latin | Specifies the Latin language. |