We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to change Default Row height of enitre sheet

HI,

How can i change the default row height of entire sheet using Aspose.cells

presently am using : sheet.Cells.SetRowHeight() for a particular cell but i want to apply for
entire sheet.

Thanks,
Vision.

Hi,

Please use Worksheet.Cells.StandardHeight for your need, see the sample code for your reference:

Workbook book = new Workbook();
Worksheet sheet = book.Worksheets[0];
sheet.Cells.StandardHeight = 15.0;

book.Save(“e:\test\outBook1.xls”);


Thank you.