Class ExcelColor
Color for cellstyling
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Data.OfficeOpenXml.Style
Assembly: Experior.Core.dll
Syntax
public sealed class ExcelColor : StyleBase
Properties
Indexed
The indexed color number.
Declaration
public int Indexed { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Rgb
The RGB value
Declaration
public string Rgb { get; }
Property Value
Type | Description |
---|---|
System.String |
Theme
The theme color
Declaration
public string Theme { get; }
Property Value
Type | Description |
---|---|
System.String |
Tint
The tint value
Declaration
public decimal Tint { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
Methods
SetColor(Color)
Set the color of the object
Declaration
public void SetColor(Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color | The color |