怎么把pdf转换成word文件? [英] How to convert from pdf to word document ?

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

问题描述

嗨 早上好...
在我的应用中,我可以在asp.net,c#中阅读document文档.现在如何通过编程方式将pdf转换为word文档.如果有人知道Plz,请告诉我.
现在我正在做研发...请帮助我

我使用此代码将pdf转换为word,

//打开源PDF文档
Document pdfDocument = new Document("D://Sriram/Vendor Agreement.pdf");
//将文件保存为MS文档格式
pdfDocument.SaveAs2("D://Sriram/Vendor Agreement.doc",WdSaveFormat.wdFormatDocument);

但是在这里Word docmunt被转换了.文档为空.

请帮我
在此先感谢...

解决方案

请参阅:
http://stackoverflow.com/questions/607669/how- [使用c#net将pdf转换为单词 [ ^ ]


我认为有些库用于将pdf转换为word,但不确定,也许此链接对您有用.
首先从pdffocus.net下载sautinsoft.pdffocus.dll并将该引用添加到您的应用程序中并放置所需的代码. http://www.sautinsoft.com/products/pdf-focus/index.php [ ^ ]

http://blog.sautinsoft.com/?cat=14 [ // save the file into MS document format
pdfDocument.SaveAs2("D://Sriram/Vendor agreement.doc",WdSaveFormat.wdFormatDocument);

But Here Word docmunt is converted . Document is empty.

Plz help me
Thanks in advance...

解决方案

see this:
http://stackoverflow.com/questions/607669/how-do-i-convert-word-files-to-pdf-programmatically[^]

convert pdf to word using c# net[^]


Hi,
I think some library is used to convert pdf to word,but am not sure,may be this link is usefull to you.
First dowload sautinsoft.pdffocus.dll from pdffocus.net and add that reference to your application and place the required code.Its working fine.
http://www.sautinsoft.com/products/pdf-focus/index.php[^]

http://blog.sautinsoft.com/?cat=14[^]


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

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