編輯

共用方式為


FormatColor.ColorIndex Property

Definition

Returns or sets one of the constants of the XlColorIndex enumeration, specifying if the fill color is expressed as an index value into the current color palette.

public:
 property Microsoft::Office::Interop::Excel::XlColorIndex ColorIndex { Microsoft::Office::Interop::Excel::XlColorIndex get(); void set(Microsoft::Office::Interop::Excel::XlColorIndex value); };
public Microsoft.Office.Interop.Excel.XlColorIndex ColorIndex { get; set; }
Public Property ColorIndex As XlColorIndex

Property Value

XlColorIndex

Remarks

This property is used for each threshold of a color scale or data bar conditional formatting rule.

Applies to