TExcelColor.FromTheme Method
Overloads
TExcelColor.FromTheme(TThemeColor)
Returns a color class with a specified theme color and tint.
Syntax
Namespace: FlexCel.Core
public static TExcelColor FromTheme(TThemeColor themeColor)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
themeColor | TThemeColor | Theme color index. |
See also
TExcelColor.FromTheme(TThemeColor, Double)
Returns a color class with a specified theme color and tint.
Syntax
Namespace: FlexCel.Core
public static TExcelColor FromTheme(TThemeColor themeColor, Double tint)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
themeColor | TThemeColor | Theme color index. | |
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. |