使用免费的第三方DLL转换Word以PDF格式 [英] Convert word to pdf using free third party dll

查看:1374
本文介绍了使用免费的第三方DLL转换Word以PDF格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想word文档转换为PDF格式。

I want to convert word document to pdf.

我发现用办公室的dll大量的解决方案。但我想使用免费的第三方DLL,因为在办公室的DLL必须有办公室安装了一个解决方案。所以我的服务器上有is'n安装Office。

i found lots of solution using office dll. But i want a solution using free third party dll because in office dll there must be office installed. so on my server there is'n office installed.

有没有免费的第三方DLL ???

Is there any free third party dll???

推荐答案

编辑:哎呀,看来你必须有安装的Office。其中在第二环节的意见,提到使用OpenXmlPowerTools.HtmlConvertor和iTextSharp的将文档转换成HTML,然后将一个PDF文件。祝你好运!

Oops, looks like you do have to have office installed. One of the comments in the second link mentions using OpenXmlPowerTools.HtmlConvertor and iTextSharp to convert the document into HTML, and then going to a PDF. Good luck with that!

如果你使用的.docx文件,请DOCX:

If you're using .docx files, check out DocX:

HTTP://docx.$c$cplex.com/

再看看这篇博客文章中的示例使用DOCX转换为PDF格式:

Then take a look at this blog post for an example on using DocX to convert to PDF:

转换的.docx成(doc和.PDF和.html )

希望这有助于。我不知道任何免费的解决方案,将工作与旧版本的Word(.doc)格式的。

Hope this helps. I'm not aware of any free solutions that will work with older versions of Word (.doc).

这篇关于使用免费的第三方DLL转换Word以PDF格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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