aspose.cells.dll去evaluation only
时间: 2023-06-05 12:47:24 浏览: 930
Aspose.Cells是一个强大的Excel操作工具库。它可以处理多种类型的Excel文档,包括.xlsx、.xls、.csv等格式。然而,在使用Aspose.Cells处理Excel文档时,可能会遭遇“evaluation only”(仅供评估)的问题。
这是因为在未购买正式授权之前,Aspose.Cells不能完全解锁所有功能。当使用未授权的Aspose.Cells.dll文件时,可能会在程序中看到“evaluation only”的提示。这意味着您可以使用Aspose.Cells的一些功能,但不能完全使用它。
为了解决这个问题,您需要购买Aspose.Cells的正式授权。在完成购买后,您将获得一个独特的许可证,其中包含Aspose.Cells完全功能的密钥。您应该使用此密钥来替换评估版Aspose.Cells.dll。替换之后,您就可以完全使用Aspose.Cells库中的所有功能。
如果您无法购买Aspose.Cells的正版授权,可以注册一个免费的30天试用版。在试用期间,您可以完全使用Aspose.Cells中的功能。当试用期结束后,您必须购买正式授权,否则任何使用Aspose.Cells.dll的程序都将回归“evaluation only”状态。
总之,要解决Aspose.Cells.dll“evaluation only”的问题,您需要购买正式授权或注册试用版。替换Aspose.Cells.dll时,一定要使用授权密钥,以确保可以完全使用所有功能。
相关问题
Aspose.Cells.dll
Aspose.Cells.dll是一个用于创建和管理Excel的库,它不需要安装Microsoft Excel或Microsoft Office Excel。它是一个独立的组件,与微软公司没有任何关联或授权。使用Aspose.Cells可以实现自动化、安全、稳定、可扩展和高效的Excel操作。\[1\]
如果你想给单元格设置自定义格式,可以使用Aspose.Cells提供的方法。例如,你可以使用PutValue方法给单元格赋值,然后使用Style属性设置单元格的前景色、背景色、字体大小和颜色等。\[2\]
如果你想从Excel文件中读取数据,你可以使用Aspose.Cells提供的方法。例如,你可以使用Workbook和Cells对象来获取Excel数据,并使用循环遍历每个单元格,将数据插入到数据库中或返回一个DataTable对象。\[3\]
#### 引用[.reference_title]
- *1* *2* [Excel操作类库 Aspose.Cell.dll](https://blog.csdn.net/lqh4188/article/details/7400161)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [C# Aspose.Cells.dll Excel操作总结](https://blog.csdn.net/yelin042/article/details/99735165)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
Aspose.Cells如何去掉Evaluation Warning sheet
Aspose.Cells 是一个强大的 Excel 文件处理 API,用于创建、读取、修改和转换 Excel 文件。当使用 Aspose.Cells 进行计算时,可能会出现 Evaluation Warning Sheet。这个 Sheet 是 Aspose.Cells 的一个特性,用于提醒用户使用的 API 是一个试用版本,它会在 Excel 文件中添加一个新的 Sheet,显示 Evaluation Warning 信息。
如果想要去掉 Evaluation Warning Sheet,可以使用 Aspose.Cells 提供的 License 类。License 类可以让用户使用 Aspose.Cells 的完整功能,而不会出现 Evaluation Warning Sheet。
以下是去掉 Evaluation Warning Sheet 的示例代码:
```java
// 创建 License 对象
com.aspose.cells.License license = new com.aspose.cells.License();
// 设置许可证文件路径
license.setLicense("Aspose.Cells.lic");
// 去掉 Evaluation Warning Sheet
com.aspose.cells.Workbook workbook = new com.aspose.cells.Workbook("input.xlsx");
workbook.getWorksheets().get("Evaluation Warning").setVisible(false);
workbook.save("output.xlsx");
```
在上述示例代码中,我们首先创建了一个 License 对象,并设置了许可证文件的路径。然后,我们使用 Workbook 类打开 Excel 文件,并将 Evaluation Warning Sheet 设置为不可见。最后,我们将修改后的 Excel 文件保存到一个新的文件中。
需要注意的是,为了去掉 Evaluation Warning Sheet,我们需要使用一个有效的 Aspose.Cells 许可证。如果没有许可证,可以在 Aspose 官网上申请一个试用许可证,试用期为 30 天。
相关推荐
![dll](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)