[]
        
(Showing Draft Content)

GrapeCity.Core.Theme

Theme Class

Represents a spreadsheet theme.

Inheritance
Theme
Namespace: GrapeCity.Core
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public sealed class Theme
Public NotInheritable Class Theme

Properties

Name Description
ColorScheme

Gets a Drawing.ThemeColorScheme object that represents the color scheme of a Theme.

Default

Gets the default theme for workbook.

EffectScheme

Gets a Drawing.ThemeEffectScheme object that represents the effect scheme of a Theme.

FontScheme

Gets a FontScheme object that represents the font scheme of a Theme.

Mutable

Gets a value indicating whether this theme is mutable.

Name

Gets the name of this Theme.

Methods

Name Description
ChangeColorScheme(Theme, ThemeColorScheme)

Changes color scheme of the specified theme.

ChangeFontScheme(Theme, ThemeFontScheme)

Changes font scheme of the specified theme.

Clone()

Clones the specified Theme to a new Theme.

GetRenderColor(IWorkbook, SchemeColor, Color)

Gets the display color from the specified scheme color.

GetRenderFont(IWorkbook, ref Font)

Gets the display font from the special font.

GetRenderFont(IWorkbook, ref StyleFormat)

Gets the display font from the special font.

GetTheme(BuiltInThemes)

Gets the built-in theme.

ToGrayscale()

Get the corresponding grayscale theme.