ColorScaleCriterion.Index Property
Returns a Integer value indicating which threshold the criteria represents. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Index As Integer
Get
'Usage
Dim instance As ColorScaleCriterion
Dim value As Integer
value = instance.Index
int Index { get; }
Property Value
Type: System.Int32
Integer
Remarks
For a two-color scale conditional format rule, this property will return a value of "1" for the minimum threshold and "2" for the maximum threshold. When using a three-color scale rule, the values will be "1" for the minimum, "2" for the midpoint, and "3" for the maximum thresholds.