[]
Specifies the theme font to use.
Use this enum with font-related APIs to apply a font from the workbook theme font scheme. Major uses the major theme font, Minor uses the minor theme font, and None specifies that no theme font is used.
public enum ThemeFont
Public Enum ThemeFont
worksheet.Range["A1"].Value = "Report Title";
worksheet.Range["A1"].Font.ThemeFont = ThemeFont.Major;
| Name | Description |
|---|---|
| Major | Specifies the major theme font. |
| Minor | Specifies the minor theme font. |
| None | Specifies to not use any theme font. |