将xlsx转换为pdf [英] Convert xlsx to pdf

查看:136
本文介绍了将xlsx转换为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Microsoft建议不要在服务器上使用interop.excel以避免办公自动化,有没有办法将excel文件转换为pdf?我已经通过openXML查询,发现使用OpenXML是不可能的。有第三方
库也可用于执行此任务,但它们不是免费的,许可成本太高,我买不起。请建议我执行此任务的方式

As Microsoft is recommending not to use interop.excel on servers to avoid office automation is there any way to convert a excel file into pdf? I have gone through openXML queries and found that it is not possible by using OpenXML. There are third party libraries are also available to do this task but they are not free and licensing cost is too much which I can't afford. Please suggest me the way by which I can do this task

推荐答案

您好,

以下示例使用了免费的第三方图书馆 - 免费Spire.XLS将Excel转换为PDF,您可以查看。

The following sample uses a free third party library -Free Spire.XLS to convert Excel to PDF, you can have a check.

在C#中处理Excel文档-----将Excel工作表转换为PDF


这篇关于将xlsx转换为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆