gpt4 book ai didi

c# - 使用 ClosedXML 另存为 pdf

转载 作者:行者123 更新时间:2023-12-02 00:00:33 38 4
gpt4 key购买 nike

ClosedXML 有没有可以用来将 Excel 文件另存为 PDF 的函数?

目前我正在使用 ClosedXML 创建并填充 Excel 文件,然后使用 Interop 另存为 PDF。
但由于 Interop 依赖于系统上安装的 MS Office,因此每个版本的 MS Office 的格式都会发生变化。而且由于 ClosedXML 不需要安装 MS Office,因此如果能够直接从中导出或另存为 PDF 而不使用 Interops,那就太好了。

最佳答案

Does ClosedXML have any function that can be used to save an excel file as PDF?

没有。

关于c# - 使用 ClosedXML 另存为 pdf,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43000266/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com