Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
WorkbookColorPalette Class Members
The following tables list the members exposed by WorkbookColorPalette.
Public Properties
| Name | Description |
![Public Property](dotnetimages/publicProperty.gif) | Count | Gets the number of colors in the palette, which is always 56. |
![Public Property](dotnetimages/publicProperty.gif) | IsCustom | Gets the value which indicates whether the palette has been cusotmized. |
![Public Property](dotnetimages/publicProperty.gif) | Item | Gets or sets a color in the palette. |
Public Methods
| Name | Description |
![Public Method](dotnetimages/publicMethod.gif) | Contains | Determines whether the specified color is in the color palette. |
![Public Method](dotnetimages/publicMethod.gif) | GetIndexOfNearestColor | Gets the index of the closest color in the color palette, which will be seen when the file is opened in Microsoft Excel 2003 and older versions. |
![Public Method](dotnetimages/publicMethod.gif) | Reset | Resets the palette back to the default colors for Microsoft Excel. |
See Also