免费RTF到PDF .NET组件或工具? [英] Free RTF to PDF .NET component or tool?

查看:146
本文介绍了免费RTF到PDF .NET组件或工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个RTF文件转换为PDF格式。所有的工具,我发现迄今耗费了大量的金钱。有没有我可以打电话或组件,我可以用它现有的RTF文件转换为PDF文件的工具?如果它是一个工具,它应该有命令行支持,这样我就可以从code调用它。我使用C#...

I am trying to convert a RTF file to a PDF. All tools I found so far cost a lot of money. Is there a tool which I could call or component I could use which converts existing RTF files to PDFs? If its a tool, it should have command line support so I can call it from the code. I am using C#...

感谢

推荐答案

我写了一个类来做到这一点使用Office互操作程序集。如果你有安装在机器执行code上的MS Word,这个效果很好。 http://brandonzeider.me/2010/microsoft-net/convert-词到PDF /

I wrote a class to do this using the Office Interop assemblies. If you have MS Word installed on the machine executing the code, this works well. http://brandonzeider.me/2010/microsoft-net/convert-word-to-pdf/

这篇关于免费RTF到PDF .NET组件或工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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