将doc文件转换为pdf [英] convert doc file into pdf

查看:169
本文介绍了将doc文件转换为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C#.net Windows应用程序中将字文件转换为pdf格式而又不依赖任何软件

how to convert word file into pdf format in C# .net windows application with out any dependency of any software

推荐答案

为此,有很多第三方库,例如 iTextSharp [ ^ ]
There are many 3rd party libraries for this, such as iTextSharp[^]


这取决于您可以使用哪种API.如果可以依靠已安装的Microsoft Word,还可以安装可用的另存为PDF"加载项,则解决方案非常简单: ^ ].

—SA
It depends on what API can you use. If you can rely on installed Microsoft Word, you can have available "Save As PDF" add-on installed as well, then the solution is pretty simple: http://stackoverflow.com/questions/607669/how-do-i-convert-word-files-to-pdf-programmatically[^].

—SA


看看下面讨论类似问题的链接
使用C#将.xls,.doc文件转换为PDF [ ^ ]
将word文档转换为pdf [ ^ ]
和此CP文章使用C#(和Office)从RTF/DOC文件创建PDF [ ^ ]可能会为您提供帮助.
Have a look at below links where similar question is discussed
Convert .xls,.doc files to PDF with C#[^]
Convert word doc to pdf[^]
and this CP article PDF creation using C# (and Office) from RTF/DOC files[^] might help you.


这篇关于将doc文件转换为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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