TExcelColor.FromTheme Method
Overloads
TExcelColor.FromTheme(TThemeColor)
Returns a color class with a specified theme color and tint.
Syntax
Unit: FlexCel.Core
class function TExcelColor.FromTheme(const themeColor: TThemeColor): TExcelColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | themeColor | TThemeColor | Theme color index. |
See also
TExcelColor.FromTheme(TThemeColor, Double)
Returns a color class with a specified theme color and tint.
Syntax
Unit: FlexCel.Core
class function TExcelColor.FromTheme(const themeColor: TThemeColor; const tint: Double): TExcelColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | themeColor | TThemeColor | Theme color index. |
const | tint | Double | Tint for the color. If you try to set a value less than -1 it will be stored as -1, and values bigger than 1 as 1. No exceptions will be raised. |