MW
Melba Winshia
Syncfusion Team
January 3, 2007 01:41 PM UTC
Hi Ryan,
I was able to reproduce the problem. However our custom color starts from 0 and excel color starts from 1. So excel color index value of 36 is equivalent to XlsIO color index value of 35. Use the following code snippets to set light yellow for the cell background.
[C#]
sheet.Range["A1"].CellStyle.ColorIndex=ExcelKnownColors.Custom35;
Please take a look and let me know if you have any other questions.
Thanks,
Melba