TXlsFile.NearestColorTheme Method
Returns the most similar entry on the theme palette for a given color.
Syntax
Unit: FlexCel.XlsAdapter
function TXlsFile.NearestColorTheme(const value: TUIColor; out tint: Double): TThemeColor; override;
Parameters
<-> |
Parameter |
Type |
Description |
const |
value |
TUIColor |
Color we want to use. |
out |
tint |
Double |
Returns the tint to apply to the theme color. |
Returns
Most similar color on the theme palette.
See also