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


workbook.SetPaletteColor( index, Color value );


workbook.SetPaletteColor(index, Color value)

Here is the sample for your reference:


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