Row's Style


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


You can try this:

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


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

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


Do you use the latest hofix v2.6.1? It's available at