Row's Style


#1

How can I set style properties, color, font…, to the entire row as apposed to cell by cell in the row?


#2

You can try this:

Excel excel = new Excel();
Row row = excel.Worksheets[0].Cells.Rows[0];
row.Style.ForegroundColor = Color.Red;


#3

the excel.Worksheets[0].Cells.Rows[0]code does not compile.

‘Aspose.Excel.Cells’ does not contain a definition for ‘Rows’.


#4

Do you use the latest hofix v2.6.1? It's available at http://www.aspose.com/Products/Aspose.Excel/Fixes/Aspose.Excel.zip.