[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IThemeFont

IThemeFont Interface

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IThemeFont
Public Interface IThemeFont
Examples
ITheme theme = new Theme("CustomTheme", Themes.Berlin);
workbook.Theme = theme;
IThemeFont themeFont = theme.ThemeFontScheme.Major[FontLanguageIndex.Latin];
themeFont.Name = "Aptos";
string fontName = themeFont.Name;

Properties

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.