Share via


Series.InvertColorIndex Property

Returns or sets the fill color for negative data points in a series. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property InvertColorIndex As XlColorIndex
    Get
    Set
'Usage
Dim instance As Series
Dim value As XlColorIndex

value = instance.InvertColorIndex

instance.InvertColorIndex = value
XlColorIndex InvertColorIndex { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.XlColorIndex

Remarks

The InvertColorIndex property enables you to set the fill color for negative data points as a color index value from 0 to 56. Instead of using the InvertColorIndex property, you can use the InvertColor property, which enables you to set the color as a specific numeric, hexadecimal, octal, or RGB color value.

For the InvertColorIndex property to have an effect, the InvertIfNegative property of the Series object must also be set to true.

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.PowerPoint Namespace