corelibraries-devexpress-dot-export-dot-xl-76cff067.md
Lists the base colors of the document theme.
Namespace : DevExpress.Export.Xl
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public enum XlThemeColor
Public Enum XlThemeColor
| Name | Description |
|---|---|
None |
Specifies that theme colors are not used to set a foreground or background color.
|
| Light1 |
Specifies the Light 1 text/background color.
|
| Dark1 |
Specifies the Dark 1 text/background color.
|
| Light2 |
Specifies the Light 2 text/background color.
|
| Dark2 |
Specifies the Dark 2 text/background color.
|
| Accent1 |
Specifies the Accent 1 theme color.
|
| Accent2 |
Specifies the Accent 2 theme color.
|
| Accent3 |
Specifies the Accent 3 theme color.
|
| Accent4 |
Specifies the Accent 4 theme color.
|
| Accent5 |
Specifies the Accent 5 theme color.
|
| Accent6 |
Specifies the Accent 6 theme color.
|
| Hyperlink |
Specifies the theme color used to highlight the inserted hyperlink.
|
| FollowedHyperlink |
Specifies the theme color used to highlight the visited hyperlink.
|
The following properties accept/return XlThemeColor values:
The values listed by this enumeration are used by following methods:
If you change the document theme by using the IXlDocument.Theme property, the new set of colors corresponding to the selected theme, will be used.
See Also
Use the Excel Export API to Format a Cell
Use the Excel Export API to Apply Themed Formatting to a Cell