Class ExcelColorXml¶
Namespace: OfficeOpenXml.Style.XmlAccess
Assembly: EPPlus.dll
Xml access class for color
Inheritance¶
object ← XmlHelper ← StyleXmlHelper ← ExcelColorXml
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Auto¶
Set the color to automatic
Property Value¶
Indexed¶
Indexed color value. Returns int.MinValue if indexed colors are not used.
Property Value¶
Rgb¶
The RGB value
Property Value¶
Theme¶
Theme color value
Property Value¶
Tint¶
The Tint value for the color
Property Value¶
Methods¶
SetColor(Color)¶
Sets the color
Parameters¶
color Color
The color
SetColor(eThemeSchemeColor)¶
Sets a theme color
Parameters¶
themeColorType eThemeSchemeColor
The theme color
SetColor(ExcelIndexedColor)¶
Sets an indexed color
Parameters¶
indexedColor ExcelIndexedColor
The indexed color