[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Theme

Class Theme

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll
public class Theme : ITheme
Inheritance
object
Theme
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Theme(string, ITheme)

Constructor. Creates a new theme based on the given theme, if the given theme is null (Nothing in Visual Basic), then the theme is based on the office theme.

public Theme(string themeName, ITheme baseTheme = null)

Parameters

themeName string

The new theme name.

baseTheme ITheme

The theme name the theme is based on.

Properties

IsBuiltIn

Gets whether the theme is a built-in theme.

public bool IsBuiltIn { get; }

Property Value

bool

Name

Gets the name of the theme.

public string Name { get; set; }

Property Value

string

ThemeColorScheme

Represents a color scheme within the theme.

public IThemeColorScheme ThemeColorScheme { get; set; }

Property Value

IThemeColorScheme

The color scheme.

ThemeFontScheme

Represents a font scheme within the theme.

public IThemeFontScheme ThemeFontScheme { get; set; }

Property Value

IThemeFontScheme

The font scheme.