Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个应用程序,它使用一系列图表和表格生成 xdoc 输出,其数据来自给定的 excel 文件。目前,我已经能够使用 Apache Poi 生成管理数据的必要图表和表格,并使用 GCExcel 在单独的 excel 文件中生成实际图表,但是,Apache 不支持将 XSSFChart 对象转换为图像以便将它们插入文档,而 GCexcel 的未授权版本也不允许我将图表导出为图像。有人知道我可以解决这个问题的方法吗?
查看 Spire.XLS 库。
在此处下载免费版本
阅读使用库可以做什么(功能)
官方教程
将excel文件转换为图片
我不确定这是否真的有效,因为我之前没有实现过类似的东西。