Click here to Skip to main content
15,038,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Good morning...
In my aplication I can read word documentin asp.net,c#. Now How to convert pdf to word document through programmatically.If anybody knows Plz let me know.
Now iam doing R & D ...Please help me

I used this code for convertion pdf to word,

//open the source PDF document
Document pdfDocument = new Document("D://Sriram/Vendor agreement.pdf");
// 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...
Posted
Updated 26-Nov-12 19:36pm
v2

   
v2
Comments
24983 26-Nov-12 23:37pm
   
Hi Thanks..here only convert word to pdf..I need convert pdf to word...
[no name] 26-Nov-12 23:41pm
   
See the second link, answers are given over there.. Good Luck mate.. Don;t forget to accept the solution, if you're satisfied with that..
24983 27-Nov-12 2:30am
   
I used this code for convertion pdf to word,

//open the source PDF document
Document pdfDocument = new Document("D://Sriram/Vendor agreement.pdf");
// 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.
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[^]
   
v2
Comments
24983 27-Nov-12 0:46am
   
this is third party control..i want to convert pdf to word without 3rd party

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900