Table of Contents

TExcelFile.GetColorTheme Method

Overloads

TExcelFile.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 GetTheme

Syntax

Unit: FlexCel.Core

function TExcelFile.GetColorTheme(const themeColor: TThemeColor): TDrawingColor; overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const themeColor TThemeColor Color of the theme to get.

Returns

Color for the given theme.

See also

TExcelFile.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 GetTheme

Syntax

Unit: FlexCel.Core

function TExcelFile.GetColorTheme(const themeColor: TPrimaryThemeColor): TDrawingColor; overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const themeColor TPrimaryThemeColor Color of the theme to get.

Returns

Color for the given theme.

See also