Free Support Forum - aspose.com

Set Workbook height and width in Java

With new release, aspose cells 7.0.0, I am trying to set the workbook width and height. can you suggest
which method should we use

from this
http://www.aspose.com/documentation/java-components/aspose.slides-for-java/working-solution-for-chart-resizing.html guide, i can see that workbook has setWindowWidthInch method, which I couldn’t find in http://www.aspose.com/documentation/java-components/aspose.cells-for-java/com/aspose/cells/workbook.html API page.

can you suggest the right procedure how to set width and height for a workbook…

Hi,


We found there are some methods missing in the WorkbookSettings API:
e.g

set/getWindowWidthInch
set/getWindowHeightInch
etc.

Actually we matched that Java version v7.0.0 with .NET’s v7.0.0, these methods are not there in .NET version. Anyways, I have logged a ticket for your feature request with an id: CELLSJAVA-30469. We will look into to support them soon.

Thank you.

thanks for the info…

any idea when can we get an update on this…, 'coz am facing lots of customer issues wrt to http://www.aspose.com/documentation/java-components/aspose.slides-for-java/working-solution-for-chart-resizing.html - chart re-size issues, so update them, i need an update

Thanks


Hi,

Please check WorksheetCollection.WindowWidthInch and
WindowHeightInch

Thanks for the clarification.

I wonder why methods related to workbook exists in WorksheetCollection. Instead it could have been in WorkbookSettings class.

From an abstract view WorksheetCollection should be collection of worksheets rather than having workbook configurations.

Hi,

Thanks for your information .

We will add them to Workbook.WorkbookSettings.

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


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

Hi,

Please try the next fix: Aspose.Cells for .NET v7.0.1.3

The row height is same as the previous version.