免费RTF到PDF .NET组件或工具?

免费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/