C# 免费 Doc 2 PDF 解决方案
有人会建议一个免费的解决方案来以编程方式将 Office 文档(主要是 .doc)转换为 .NET 库形式的 PDF 或我可以从我的程序调用的命令行应用程序吗?谢谢
PS:我知道我可以在较新版本的 Office 中使用“另存为 PDF”,但运行该程序的某些客户端仍然使用较旧版本的 Office。
would anyone suggest a free solution to programmatically convert Office documents (mostly .doc) to PDF in the form of a .NET library or a command-line application i can call from my program? Thanks
PS: I know I can use SaveAs PDF in newer versions of Office, but some of the clients where the program will run still have older versions of Office.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不会 GhostScript (GhostScript 网站)为您做这件事吗?否则,我认为,在保留的情况下, PDFSharp 可能会做到这一点。如果这些不行,我希望这个可以:PDFCreate。事实上,仔细观察后,如果 Ghostcript 不行,我可能会考虑尝试 PDFCreate,因为它在我链接的网站上提供了一些示例代码。
您可能还想查阅有关以下主题的维基百科:PDF 软件列表
Won't GhostScript (GhostScript Website) do that for you? Otherwise, I think, under reserves, that PDFSharp might do it. If these won't do, I hope that this one will: PDFCreate. In fact, after a closer look, if Ghostcript won't do, I would perhaps consider trying PDFCreate as it provides some sample code on the wbesite I linked for it.
You might also want to consult Wikipedia on the topic: List of PDF software
您也许可以使用 PrimoPDF 之类的工具,它基本上会安装一台打印机,当您打印到它时,会创建一个 PDF 文档。我实际上从未将其称为命令行,但由于它只是另一台打印机,因此任何标准打印代码都可以工作。
科迪
You can maybe use something like PrimoPDF which basically installs a printer that when you print to it, creates a PDF document. I've never actually called it command line but since it's just another printer, any standard print code would work.
Cody