locked
How to set background color of rows in excel using aspose.cells RRS feed

  • Question

  • User56764395 posted

    Hi,

    How to set background color for rows in excel using aspose.cells....  i am using below code this is not working...

    Style style1 = workbook.Styles[workbook.Styles.Add()];
                        style1.ForegroundColor = Color.LightGreen;
                        style1.BackgroundColor = Color.LightGreen;
                        style1.Pattern = BackgroundType.VerticalStripe;
                        style1.Font.Color = Color.Black;

     

     


     

    Thanks In Advance,

    kannan.s

    Monday, September 20, 2010 9:49 AM

All replies