Articles in this section
Category / Section

How custom colors can be added to the workbook's color palette?

1 min read

XlsIO has support for adding new colors to the color pallet that are not found in standard MS Excel color palette using the SetPaletteColor method. In this we need specify the index in which color in the palette you need to change and new color name

C#

workbook.SetPaletteColor( index, Color value );

VB

workbook.SetPaletteColor(index, Color value)

Here is the sample for your reference:

http://www.syncfusion.com/downloads/support/directtrac/89898/XlsIO_ColorPalette1735861151.zip

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied