读取由Apple Inc.开发的Numbers电子表格
Contents
[
Hide
]
可能的使用场景
Numbers是由苹果公司开发的电子表格应用程序,Aspose.Cells可以读取Numbers电子表格,但不支持写入。它可以读取Numbers电子表格的数据、样式和公式。
使用 Aspose.Cells 读取由 Apple Inc. 开发的 Numbers 电子表格
以下示例代码加载示例数字表,并将其转换为输出PDF格式。你需要使用**LoadOptions**类,并在其构造函数中指定**LoadFormat::Numbers**作为参数以成功加载。请从给定链接下载两个文件。你可以用任何数字表试试这段代码,也请阅读代码中的注释以获得更多帮助。
示例代码
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadOptions, _ := NewLoadOptions(LoadFormat_Numbers) | |
workbook, _ := NewWorkbook_String_LoadOptions("48496674.numbers", loadOptions) | |
workbook.Save_String("48496675.pdf") |