TXlsFile.GetColorTheme Method
Overloads
TXlsFile.GetColorTheme(TThemeColor)
Returns a color from the active theme palette, including semantic colors. Only has effect in Excel 2007.
To get the full theme, look at TExcelFile.GetTheme
Syntax
Unit: FlexCel.XlsAdapter
function TXlsFile.GetColorTheme(const themeColor: TThemeColor): TDrawingColor; overload; override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | themeColor | TThemeColor | Color of the theme to get. |
Returns
Color for the given theme.
See also
TXlsFile.GetColorTheme(TPrimaryThemeColor)
Returns a color from the active theme palette, without including semantic colors. Only has effect in Excel 2007.
To get the full theme, look at TExcelFile.GetTheme
Syntax
Unit: FlexCel.XlsAdapter
function TXlsFile.GetColorTheme(const themeColor: TPrimaryThemeColor): TDrawingColor; overload; override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | themeColor | TPrimaryThemeColor | Color of the theme to get. |
Returns
Color for the given theme.