Bewerken

Delen via


_Workbook.Colors[Object] Property

Definition

Returns or sets colors in the palette for the workbook. The palette has 56 entries, each represented by an RGB value. Read/write Object.

public:
 property System::Object ^ Colors[System::Object ^] { System::Object ^ get(System::Object ^ Index); void set(System::Object ^ Index, System::Object ^ value); };
public object Colors[object Index] { get; set; }
Public Property Colors(Optional Index As Object) As Object

Parameters

Index
Object

Optional Object. The color number (from 1 to 56). If this argument isn’t specified, this method returns an array that contains all 56 of the colors in the palette.

Property Value

Applies to