KC
Kevin Clark
February 28, 2012 02:58 PM UTC
This can be disregarded...I figured it out, but I think the documentation on this can be improved greatly. Hopefully the code below will help others in the future
ExcelEngine ex = new ExcelEngine();
ex.Excel.Workbooks.Create(7); - creates a workbook with 7 sheets
IRange row = ex.Excel.Worksheets[i].Range["A3"];
row.CellStyle.ColorIndex = ex.Excel.Worksheets[i].Workbook.SetColorOrGetNearest(242, 242, 242);
JM
Johnson Monohar M
Syncfusion Team
February 29, 2012 01:19 PM UTC
Hi Kevin,
Thank you for your valuable information.
We assure to include the code snippet of SetColorOrGetNearest() method in our documentation.
Thanks,
Johnson