共用方式為


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. Read/write 64-bit signed integer.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.PowerPoint.XlColorIndex

Remarks

This property applies only to line, scatter, and radar charts.

See Also

Reference

LegendKey Interface

LegendKey Members

Microsoft.Office.Interop.PowerPoint Namespace