SpreadsheetGear 2017
ColorSchemeIndex Enumeration






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
'Declaration
 
Public Enum ColorSchemeIndex 
   Inherits System.Enum
'Usage
 
Dim instance As ColorSchemeIndex
public enum ColorSchemeIndex : System.Enum 
public enum ColorSchemeIndex = class(System.Enum)
public enum ColorSchemeIndex extends System.Enum
__value public enum ColorSchemeIndex : public System.Enum 
public enum class ColorSchemeIndex : public System.Enum 
Members
MemberDescription
Accent1Specifies the "Accent1" theme color which defaults to pale blue in the default "Office" color scheme.
Accent2Specifies the "Accent2" theme color which defaults to pale red in the default "Office" color scheme.
Accent3Specifies the "Accent3" theme color which defaults to pale olive green in the default "Office" color scheme.
Accent4Specifies the "Accent4" theme color which defaults to pale purple in the default "Office" color scheme.
Accent5Specifies the "Accent5" theme color which defaults to pale aqua in the default "Office" color scheme.
Accent6Specifies 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.
Background2Specifies the "Background 2" theme color which is also referred to as "Light2" and defaults to tan in the default "Office" color scheme.
FollowedHyperlinkSpecifies the "FollowedHyperlink" theme color.
HyperlinkSpecifies the "Hyperlink" theme color.
NoneSpecifies 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.
Text2Specifies 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SpreadsheetGear.Themes Namespace
ThemeColor Property
ThemeColor Property
PatternThemeColor Property
ThemeColor Property
ThemeColor Property
ColorScheme Property
IColorScheme Interface
IColor Interface