[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IThemeFont.Name

Name Property

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.

Declaration
string Name { get; set; }
Property Name As String
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;