SpreadsheetGear
ColorSchemeIndex Enumeration
See Also  Send Feedback
SpreadsheetGear.Themes Namespace : ColorSchemeIndex Enumeration

Specifies a color scheme index for getting and setting theme colors on fonts and fills as well as accessing theme colors with ITheme.ColorScheme[ColorSchemeIndex index].

Syntax

Visual Basic (Declaration) 
Public Enum ColorSchemeIndex 
   Inherits Enum
C# 
public enum ColorSchemeIndex : Enum 

Members

MemberDescription
None Specifies that the represented color is not a theme color.
Text1 Specifies the "Text 1" theme color which is also referred to as "Dark1" and defaults to System.Drawing.SystemColors.WindowText in the default "Office" color scheme.
Background1 Specifies the "Background 1" theme color which is also referred to as "Light1" and defaults to System.Drawing.SystemColors.Window in the default "Office" color scheme.
Text2 Specifies the "Text 2" theme color which is also referred to as "Dark2" and defaults to dark blue in the default "Office" color scheme.
Background2 Specifies the "Background 2" theme color which is also referred to as "Light2" and defaults to tan in the default "Office" color scheme.
Accent1 Specifies the "Accent1" theme color which defaults to pale blue in the default "Office" color scheme.
Accent2 Specifies the "Accent2" theme color which defaults to pale red in the default "Office" color scheme.
Accent3 Specifies the "Accent3" theme color which defaults to pale olive green in the default "Office" color scheme.
Accent4 Specifies the "Accent4" theme color which defaults to pale purple in the default "Office" color scheme.
Accent5 Specifies the "Accent5" theme color which defaults to pale aqua in the default "Office" color scheme.
Accent6 Specifies the "Accent6" theme color which defaults to pale orange in the default "Office" color scheme.
Hyperlink Specifies the "Hyperlink" theme color.
FollowedHyperlink Specifies the "FollowedHyperlink" theme color.

Remarks

The Excel 2007 API sometimes incorrectly swaps Dark1 and Light1 as well as Dark2 and Light2. The SpreadsheetGear API correctly treates Dark1 as "Text 1", Light1 as "Background 1", Dark2 as "Text 2" and Light2 as "Background 2".

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         SpreadsheetGear.Themes.ColorSchemeIndex

Requirements

Namespace: SpreadsheetGear.Themes

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2008 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.