Different page alignment in Excel 2007?


I am using Aspose.Excel version to dynamically generate Excel reports from my application.

Just recently I tested the application using Excel 2007. It seems that somehow the page alignment is different between Excel 2003 and Excel 2007.

Any idea why this is happened? I have attached the screenshot of both excels.


Hi Cecilia,

Aspose.Excel is renamed to become Aspose.Cells now, which is more stable and rich related features. There is not much difference and workaround required to upgrade to Aspose.Cells. Old APIs are still retained except for very few APIs are renamed, some new members are added related classes. New APIs (Classes with their members, enums, structs) are included based on some advanced features.

Following are the classes renamed in Aspose.Cells and you have to keep in mind:

  1. Excel → Workbook
  2. ExcelDesigner → WorkbookDesigner
  3. ExcelHelper → CellsHelper.

Please try our first Aspose.Cells version 4.3 (you may download @: Download .NET DLL Components to Process Excel | Aspose.Cells). If it cannot solve the problem, please post your sample code with the output file, so that we may check and resolve the issue soon.

Thank you.