Class ExcelSparklineColor
Sparkline colors
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Sparkline
Assembly: EPPlus.dll
Syntax
public class ExcelSparklineColor : XmlHelper, IColor
Properties
Auto
Color is set to automatic
Declaration
public bool Auto { get; }
Property Value
Type | Description |
---|---|
System. |
Indexed
Indexed color
Declaration
public int Indexed { get; set; }
Property Value
Type | Description |
---|---|
System. |
Rgb
RGB
Declaration
public string Rgb { get; }
Property Value
Type | Description |
---|---|
System. |
Theme
The theme color
Declaration
public eThemeSchemeColor? Theme { get; }
Property Value
Type | Description |
---|---|
System. |
Tint
The tint value
Declaration
public decimal Tint { get; set; }
Property Value
Type | Description |
---|---|
System. |
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 |
---|---|---|
e |
color | The color |
SetColor(ExcelIndexedColor)
Sets an indexed color
Declaration
public void SetColor(ExcelIndexedColor color)
Parameters
Type | Name | Description |
---|---|---|
Excel |
color | The color |
SetColor(Color)
Sets a color
Declaration
public void SetColor(Color color)
Parameters
Type | Name | Description |
---|---|---|
System. |
color | The color |