Free Support Forum -

When saving workbook in Excel97-2003 format- Ruler is getting hidden

Hi Aspose,

When I’m using the following code to create an excel file, the Ruler is getting hidden.
Workbook workbook = new Workbook();
int i = workbook.Worksheets.Add();
workbook.Worksheets[0].ViewType = ViewType.PageLayoutView;
workbook.Save(“C:\TestFile.xls”, new XlsSaveOptions());
Thanks and Regards

Thanks for the sample code.

I have tested the scenario in MS Excel 2010, when we select Page Layout View, the ruler are on automatically by default. But for the output file (using the code) by Aspose.Cells, in the first worksheet, the rulers are not on.

I have logged a ticket with an id "CELLSNET-41357" for your issue. We will look into your issue soon.

Thank you.

Hi Amjad,

What is possible ETA for this issue?

Thanks and Regards,



Please spare us a little time (1-2 days), we will evaluate your issue and get back to you soon.


The issues you have found earlier (filed as CELLSNET-41357) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.