Hi all...
How do I convert a given PDF File to Word File in C#.NET (ASP.NET) ??
I have tried the following -
1) iTextSharp dll - It does not work.
2) Solid Documents - It is not free dll.
Link - http://developer.soliddocuments.com/search/label/ASP.NET
Please help me out ....
Thanks a lot in advance.....
Loading

Yogesh TyagiRank #1,279 · 1.4K reputationPosted Apr 10, 2014, 5:10 AM EDT
http://www.c-sharpcorner.com/UploadFile/9c6206/upload-any-file%E2%80%9Cdoc-docx-xls-xlsx-ppt-pptx-rtf%E2%80%9D-an/
Riddhi ValechaRank #794 · 2.9K reputationPosted Apr 10, 2014, 9:15 PM EDT
The link shows to convert doc to pdf...
I want its reverse ...
I want PDF to WORD file....
I tried this code... but it did not work....
And I want it in simple asp.net c# web application...
My scenario is -
1. User selects a pdf file (either using FileUpload control or simply by giving the address i.e. @C:\Temp\abcd.pdf)
2. User clicks a button "Convert to Word".
3. System converts that particular file to word document.
Please help me out with this....
I also tried it with iTextSharp (since its a free dll)... but it is not working...
Any suggestions ??
Yogesh TyagiRank #1,279 · 1.4K reputationPosted Apr 11, 2014, 3:05 AM EDT
http://www.pdfonline.com/easyconverter/sdk/index.htm[^]
http://stackoverflow.com/questions/5729874/how-to-convert-pdf-to-word-in-c-sharp[^]
http://social.msdn.microsoft.com/Forums/hu-HU/csharpgeneral/thread/3f025305-7729-47df-81ba-38f1a938c9ac[^]
http://in.answers.yahoo.com/question/index?qid=20100821115721AAClSKz[^]
http://www.pdftoword.us/pdf-to-word-text-image-focus-dotnet-library.html[^]
Riddhi ValechaRank #794 · 2.9K reputationPosted Apr 11, 2014, 3:14 AM EDT
Thanks for all these links...
But.. no link has a specific C#.NET Code to convert PDF File To Word Document...
I want to make a convertor in asp.net......
Do you have any c# Code for that ? I dont want any software..
Yogesh TyagiRank #1,279 · 1.4K reputationPosted Apr 12, 2014, 1:18 AM EDT
Code is:-
public string ReadPdfFile(string fileName) { StringBuilder text = new StringBuilder(); if (File.Exists(fileName)) { PdfReader pdfReader = new PdfReader(fileName); for (int page = 1; page pdfReader.NumberOfPages; page++) { ITextExtractionStrategy strategy = new SimpleTextExtractionStrategy(); string currentText = PdfTextExtractor.GetTextFromPage(pdfReader, page, strategy); text.Append(currentText); } pdfReader.Close(); } return text.ToString(); }and Microsoft.Office.Interop.Word namespace[^] to create the Word files.
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 12, 2014, 1:45 AM EDT
Riddhi ValechaRank #794 · 2.9K reputationPosted Apr 12, 2014, 5:12 AM EDT
Thanks a ton to all for these links....
I tried all the solutions...
1. ITextSharp - it does not copy images....
2. SautinSoft - It converts only first 3 pages.... It is a trial version dll... I am not getting its full version for free download...
If it is possible by ITextsharp, please do let me know...
If any other solution is available, please help !!
Thanks a lot....
Riddhi ValechaRank #794 · 2.9K reputationPosted Apr 14, 2014, 11:54 PM EDT
Do anyone have a crack key of SautinSoft dll ??
It converts 3 pages... and then leaves...
Please help if anyone have any other solution for this !!
Thanks a ton to all.....
Jordyn Zachary2 reputationPosted May 6, 2014, 12:23 AM EDT
However, are you looking only for free SDKs? If you are open for all options, there is a commercial library that converts PDF to Word and other formats, which is Leadtools. This toolkit contains both PDF and OCR support. I think you can find more info on their website.
Riddhi ValechaRank #794 · 2.9K reputationPosted May 22, 2014, 3:24 AM EDT
Extremely sorry for late reply...
I am looking for a code / 3rd party dll that can convert any pdf file to word file.
PDF File can contain text, images, watermark, etc. anything.
SautinSoft trial version converts only first three pages.
Hence, I asked for its crack key.
Please help.
Jony Green103 reputationPosted Oct 28, 2015, 6:54 PM EDT
Ace Balajadia6 reputationPosted Mar 11, 2018, 5:20 PM EDT
Leon DRank #851 · 2.6K reputationPosted Mar 11, 2018, 6:54 PM EDT
Ace Balajadia6 reputationPosted Mar 11, 2018, 8:18 PM EDT