VB.NET - convert pdf to word - Asked By Anandh Ramanujam on 12-Dec-11 03:21 AM

hi,

I have created a pdf document using iTextSharp classes.

I want to convert that pdf to word document

How can we do that. pls explain me.

Thanks
Anoop S replied to Anandh Ramanujam on 12-Dec-11 03:35 AM
You could make your program do this. This is the long, but easy way:

- Open the PDF file
- Copy the text in it
- Open Microsoft Word
- Paste the text in it
- Save it
kalpana aparnathi replied to Anandh Ramanujam on 12-Dec-11 03:36 AM
hi,

step 1: Add this .dll file in your application.
   
            SautinSoft.PdfFocus.dll

step 2 :Follow this code:
             

SautinSoft.PdfFocus f = new SautinSoft.PdfFocus();
f.OpenPdf(@"c:\yourpdf.pdf");
 
if (f.PageCount > 0)
{
  f.ToWord(@"c:\Resultdoc.doc",PdfFocus.eWordFormat.Rtf_WithShapes);
}
Web Star replied to Anandh Ramanujam on 12-Dec-11 03:41 AM
you can't convert pdf to word using iTextSharp you can use third party tool which directly write the word document with DataTable and other customize input.
Jitendra Faye replied to Anandh Ramanujam on 12-Dec-11 03:43 AM
Follow this link=

http://coolaspdotnetcode.com/Web/ConvertingWordToPdf.aspx
Suchit shah replied to Anandh Ramanujam on 12-Dec-11 03:53 AM
 you need to use some third party products that will do this for you.
 
---------------
For 3rd party products...follow these links

http://www.dreamincode.net/forums/topic/40261-pdf-library/[http://www.dreamincode.net/forums/topic/40261-pdf-library/]
http://stackoverflow.com/questions/2083387/c-pdf-to-word-programmatically[http://stackoverflow.com/questions/2083387/c-pdf-to-word-programmatically]
http://in.answers.yahoo.com/question/index?qid=20100821115721AAClSKz[http://in.answers.yahoo.com/question/index?qid=20100821115721AAClSKz]

The present possibility is to use a library to convert PDF to DOC, also remember these are from 3rd party or freeware.

Here is a tutorial how to use it to convert your own document to pdf files within your own application

Tutorial
http://itextsharp.sourceforge.net/tutorial/index.html