Public API Changes in Aspose.Cells 8.2.2
Property Version Added for BuiltInDocumentPropertyCollection Class
The new property Version has been added to the BuiltInDocumentPropertyCollection class in order to allows developers to get or set the version of the application for a given spreadsheet.
Workbook book = new Workbook("sample.xlsx"); BuiltInDocumentPropertyCollection properties = book.getBuiltInDocumentProperties(); System.out.println(properties.getVersion());
Property Chart.Worksheet Added
Before the release of Aspose.Cells 8.2.2, it was not possible to retrieve the instance of the Worksheet from a Chart object it contains. Aspose.Cells 8.2.2 has filled up this gap by providing the Chart.Worksheet property.
Workbook workbook = new Workbook("sample.xlsx"); Chart chart = workbook.getWorksheets().get(0).getCharts().get(0); Worksheet worksheet = chart.getWorksheet(); System.out.println("Chart's Sheet Name: " + worksheet.getName());