Table of Contents

XlsFile.GetColorTheme Method

Overloads

XlsFile.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 ExcelFile.GetTheme

Syntax

Namespace: FlexCel.XlsAdapter

public override TDrawingColor GetColorTheme(TThemeColor themeColor)

Parameters

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

Returns

Color for the given theme.

See also

XlsFile.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 ExcelFile.GetTheme

Syntax

Namespace: FlexCel.XlsAdapter

public override TDrawingColor GetColorTheme(TPrimaryThemeColor themeColor)

Parameters

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

Returns

Color for the given theme.

See also