FormatColor.ColorIndex Property
Returns or sets one of the constants of the XlColorIndex enumeration, specifying if the fill color is expressed as an index value into the current color palette.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ColorIndex As XlColorIndex
Get
Set
'Usage
Dim instance As FormatColor
Dim value As XlColorIndex
value = instance.ColorIndex
instance.ColorIndex = value
XlColorIndex ColorIndex { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlColorIndex
XlColorIndex
Remarks
This property is used for each threshold of a color scale or data bar conditional formatting rule.