How to convert scanned pdf file to excel in C#?

How to convert scanned pdf file to excel using c# .net? please, I need urgent so try so many times please give some suggestions.

Customer
-------------------------------------

image
Thanks for your message, please download "VeryPDF OCR to Any Converter SDK/COM" from following web page to try, you can use "VeryPDF OCR to Any Converter SDK/COM" to convert from scanned PDF files to editable Excel Spreadsheets,

http://www.verypdf.com/app/ocr-to-any-converter-cmd/try-and-buy.html#buysdk
http://www.verypdf.com/dl2.php/ocr2any_sdk.zip

after you download it, you can run "libs\install.vbs" to install ocr2anyCom.exe into your system first, you can also run a cmd window by administrator privilege, and then run following command line to register COM Component,

ocr2anyCom.exe /regserver

You can use following C# code to convert your scanned PDF files to editable excel spreadsheets easily,

-------------------
string strInFile = "D:\\VeryPDF_scanned.pdf";
string strOutFile = "D:\\out_excel.xls";
string strCmd = "-ocr2 -$ XXXX-XXXX-XXXX-XXXX";
strCmd += " \"" + strInFile + "\" \"" + strOutFile + "\"";

System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.ocr2anyCom");
VeryPDF.ocr2anyCom VeryPDFCom = (VeryPDF.ocr2anyCom)System.Activator.CreateInstance(VeryPDFType);
string strReturn = VeryPDFCom.ocr2any(strCmd);
MessageBox.Show(strReturn);
-------------------

image

If you can't get it work properly, please feel free send to us your sample PDF file, after we check your PDF file, we will figure out a solution to you asap.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in OCR Products and tagged , , . Bookmark the permalink.

One Response to How to convert scanned pdf file to excel in C#?

  1. Michel says:

    Hi sir,
    After installation i am not able to find or use VeryPDF.ocr2anyCom and system.type
    .Please suggest me how to bring into my Project.i need to bring that into my console Application using c#.

    Thanks
    Michel

    VA:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.20_1166]
    Rating: +1 (from 1 vote)

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!