SpreadsheetGear 2010
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 System.Enum
C# 
public enum ColorSchemeIndex : System.Enum 

Members

MemberDescription
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.
Background1Specifies 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.
Background2 Specifies the "Background 2" theme color which is also referred to as "Light2" and defaults to tan in the default "Office" color scheme.
FollowedHyperlink Specifies the "FollowedHyperlink" theme color.
Hyperlink Specifies the "Hyperlink" theme color.
None Specifies that the represented color is not a theme color.
Text1Specifies 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.
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.

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

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 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.