LegendKey.MarkerForegroundColorIndex Property

Returns or sets the marker foreground 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 MarkerForegroundColorIndex As XlColorIndex
    Get
    Set
'Usage
Dim instance As LegendKey
Dim value As XlColorIndex

value = instance.MarkerForegroundColorIndex

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

Property Value

Type: Microsoft.Office.Interop.Excel.XlColorIndex

See Also

Reference

LegendKey Interface

LegendKey Members

Microsoft.Office.Interop.Excel Namespace