[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Themes

Themes Class

Represents a theme manager.

Use this class to access themes by name and to create custom themes that can be applied to a workbook. A Themes instance can retrieve built-in themes and custom themes added to the manager.

Inheritance
Themes
Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public class Themes
Public Class Themes
Examples
Themes themes = new Themes();
ITheme theme = themes[Themes.Berlin.Name];
workbook.Theme = theme;

Constructors

Name Description
Themes()

Constructor.

Properties

Name Description
Apex

Specifies the Apex theme.

Aspect

Specifies the Aspect theme.

Badge

Specifies the Badge theme.

Banded

Specifies the Banded theme.

Basis

Specifies the Basis theme.

Berlin

Specifies the Berlin theme.

Celestial

Specifies the Celestial theme.

Circuit

Specifies the Circuit theme.

Civic

Specifies the Civic theme.

Concourse

Specifies the Concourse theme.

Count

Returns the number of themes in this theme collection.

The returned value includes both the built-in themes and any custom themes added to the collection.

Crop

Specifies the Crop theme.

Damask

Specifies the Damask theme.

Depth

Specifies the Depth theme.

Dividend

Specifies the Dividend theme.

Droplet

Specifies the Droplet theme.

Equity

Specifies the Equity theme.

Facet

Specifies the Facet theme.

Feathered

Specifies the Feathered theme.

Flow

Specifies the Flow theme.

Foundry

Specifies the Foundry theme.

Frame

Specifies the Frame theme.

Specifies the Gallery theme.

Headlines

Specifies the Headlines theme.

Integral

Specifies the Integral theme.

Ion

Specifies the Ion theme.

IonBoardroom

Specifies the IonBoardroom theme.

this[string]

Gets the theme with the specified name.

This method searches built-in themes first and then searches custom themes added to this Themes collection. Theme name matching is case-insensitive, and leading and trailing whitespace in name are ignored.

MainEvent

Specifies the MainEvent theme.

Median

Specifies the Median theme.

Mesh

Specifies the Mesh theme.

Metro

Specifies the Metro theme.

Metropolitan

Specifies the Metropolitan theme.

Module

Specifies the Module theme.

Office2007

Specifies the Office2007.

OfficeTheme

Specifies the Office theme.

Opulent

Specifies the Opulent theme.

Organic

Specifies the Organic theme.

Oriel

Specifies the Oriel theme.

Origin

Specifies the Origin theme.

Paper

Specifies the Paper theme.

Parallax

Specifies the Parallax theme.

Parcel

Specifies the Parcel theme.

Quotable

Specifies the Quotable theme.

Retrospect

Specifies the Retrospect theme.

Savon

Specifies the Savon theme.

Slate

Specifies the Slate theme.

Slice

Specifies the Slice theme.

Solstice

Specifies the Solstice theme.

Technic

Specifies the Technic theme.

Trek

Specifies the Trek theme.

Urban

Specifies the Urban theme.

VaporTrail

Specifies the VaporTrail theme.

Verve

Specifies the Verve theme.

View

Specifies the View theme.

Wisp

Specifies the Wisp theme.

WoodType

Specifies the WoodType theme.

Methods

Name Description
Add(string, ITheme)

Creates a new custom theme based on the specified base theme.

If baseTheme is null, the new theme is created from the Office theme. If themeName is null or empty, a unique custom theme name is generated automatically.

@deprecated Use Theme(string, ITheme) instead.