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,

https://www.verypdf.com/app/ocr-to-any-converter-cmd/try-and-buy.html#buysdk
https://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: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
How to convert scanned pdf file to excel in C#?, 1.0 out of 10 based on 1 rating

Related Posts

One Reply to “How to convert scanned pdf file to excel in C#?”

  1. 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: 0 (from 2 votes)

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!