Read Numbers Spreadsheet Developed by Apple Inc. using Aspose.Cells
Possible Usage Scenarios
Numbers is a spreadsheet application developed by Apple Inc. Aspose.Cells for Python via .NET can read Numbers spreadsheet but it does not support writing to it. It can read Numbers spreadsheet’s Data, Style and Formulas.
Read Numbers Spreadsheet Developed by Apple Inc. using Aspose.Cells Python via .NET
The following sample code loads the Sample Numbers Spreadsheet and converts it to Output PDF Format. You will have to use LoadOptions class and specify LoadFormat.NUMBERS as a parameter in its constructor to load it successfully. Please download both of them from the given links. You can try the code with any Numbers spreadsheet. Please also read the comments of the code for more help.
Sample Code
from aspose.cells import LoadFormat, LoadOptions, SaveFormat, Workbook | |
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET | |
# Specify load options, we want to load Numbers spreadsheet | |
opts = LoadOptions(LoadFormat.NUMBERS) | |
# Load the Numbers spreadsheet in workbook with above load options | |
wb = Workbook(sourceDir + "sampleNumbersByAppleInc.numbers", opts) | |
# Save the workbook to pdf format | |
wb.save(outputDir + "outputNumbersByAppleInc.pdf", SaveFormat.PDF) |