Class ExcelSparklineColor
Sparkline colors
Inherited Members
Namespace: OfficeOpenXml.Sparkline
Assembly: EPPlus.dll
Syntax
public class ExcelSparklineColor : XmlHelper
Properties
Auto
Color is set to automatic
Declaration
public bool Auto { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Indexed
Indexed color
Declaration
public int Indexed { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Rgb
RGB
Declaration
public string Rgb { get; }
Property Value
| Type | Description |
|---|---|
| string |
Theme
The theme color
Declaration
public eThemeSchemeColor? Theme { get; }
Property Value
| Type | Description |
|---|---|
| eThemeSchemeColor? |
Tint
The tint value
Declaration
public double Tint { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
SetAuto()
Sets the color to auto
Declaration
public void SetAuto()
SetColor(eThemeSchemeColor)
Sets a theme color
Declaration
public void SetColor(eThemeSchemeColor color)
Parameters
| Type | Name | Description |
|---|---|---|
| eThemeSchemeColor | color | The color |
SetColor(ExcelIndexedColor)
Sets an indexed color
Declaration
public void SetColor(ExcelIndexedColor color)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelIndexedColor | color | The color |
SetColor(Color)
Sets a color
Declaration
public void SetColor(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color |