Description |
---|
Excerpt |
---|
Returns the color at the specified 0-based index within the Palette. |
Signature | ||||
---|---|---|---|---|
| ||||
public Color GetColorAt(int index) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Function GetColorAt(ByVal index As Integer) As Color |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The 0-based index of the color to return. Must be between 0 and 55. |
Returns |
---|
The color at the specified index. |
Remarks |
---|
For .xlsx files, this will return a color from the legacy palette. Colors in the legacy palette will be used when opening the file in Excel 2003. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|