Share via


LegendKey.MarkerBackgroundColorIndex Property

Returns or sets the marker background color as an index into the current color palette, or as one of the following XlColorIndex constants: xlColorIndexAutomatic or xlColorIndexNone. Applies only to line, scatter, and radar charts.

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

Syntax

'Declaration
Property MarkerBackgroundColorIndex As XlColorIndex
    Get
    Set
'Usage
Dim instance As LegendKey
Dim value As XlColorIndex

value = instance.MarkerBackgroundColorIndex

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

Property Value

Type: Microsoft.Office.Interop.Excel.XlColorIndex

See Also

Reference

LegendKey Interface

LegendKey Members

Microsoft.Office.Interop.Excel Namespace