Hi Raj,
For zooming a worksheet, kindly use Worksheet.setZoom() method. I think you and I wrongly thought about the API, PageSetup.setZoom() actually affects the scalling factor...In MS Excel Click File|PageSetup...in the PageSetup dialog click Page tab and check the scalling section.
So you may change the code as follows:
...............
Worksheets worksheets = workbook.getWorksheets();
Worksheet worksheet = worksheets.getSheet(0);
worksheet.setZoom(75);
And for Grouping Cols issue, Johnson is rightly saying, I never thought MS Excel also create a single group for adjacent columns. And we generally follow the MS Excel standards.
Have a good day!
Thank you.
Amjad Sahi
Support Developer,
Aspose Nanjing Team
Contact Us