Convert DOC to PDF [closed]

依然范特西╮ 提交于 2019-12-24 00:58:38

问题


I know this question has been asked over and over, but I can't find the answer I'm looking for. So I'll shamelessly try again.

I'm looking for a reliable, stand-alone tool for converting Word documents to PDF. A command-line tool or .NET library would be ideal, but a regular Windows DLL could work, too. But my app can't rely on any of the following:

  • installing a printer driver
  • scripting MS Office
  • scripting OpenOffice
  • licence for a commercial library
  • controlling a windowed application via the UI

On the other hand I'm not looking for perfect fidelity, in fact I don't even care about fonts and formatting, just about getting the basic table/textbox layout about right.

I looked at Aspose.Words.NET, and while it does the conversion job perfectly, it's expensive and seems like overkill. I was tempted (in my frustration) to just use the trial version of Aspose as this project isn't for public release, but the trial version won't work with documents above an undisclosed number of paragraphs and the documentation is very vague on this point so I wouldn't know what to expect down the line. Anyway that would be wrong. ;)

Any ideas?


回答1:


I found a link with the information that can be useful for you: http://en.wikipedia.org/wiki/List_of_PDF_software You should have a look at the creators section and developers libraries.




回答2:


have a look at this thread: How do I convert Word files to PDF programmatically?. ITextSharp is a popular choice for document conversion (it's free and open source)



来源:https://stackoverflow.com/questions/8772169/convert-doc-to-pdf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!