How can we register PaperToolsCom.exe on windows pc?

How can we register PaperToolsCom.exe on windows pc?

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

https://www.verypdf.com/app/papertools/user-guide.html

image

Thanks for your message, you may run a CMD window with administrator privilege, then you can run following command line to register PaperToolsCom.exe into your system,

PaperToolsCom.exe /regserver

after you register PaperTools SDK/COM successful, you can import "VeryPDF.PaperToolsCom" into your project, you can compile and run ASP, C#, C++, Javascript, PHP, VB, VB.NET, VBScript, etc. demo projects properly.

This is a simple C# source code to call PaperToolsCom.exe to analyze and process scanned image files,

string appPath = Path.GetDirectoryName(Application.ExecutablePath);
System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.PaperToolsCom");
VeryPDF.PaperToolsCom VeryPDFCom = (VeryPDF.PaperToolsCom)
        System.Activator.CreateInstance(VeryPDFType);

string appFolder = Path.GetDirectoryName(Application.ExecutablePath);
string strFolder = Directory.GetParent(appFolder).FullName;

string strReturn = "";
int nFileIndex = 0;
VeryPDFCom.EnableDebugLog(true);

string strInFile = strFolder + "\\sample\\test_table_ocr.tif";
string strOutFile = strFolder + "\\sample\\output\\_output_" +
       nFileIndex.ToString() + ".png";
string strCmd = "-$ XXXXXXXXXXXXXXXXXX -removelongline 0
       -boxobjects \"" + strInFile + "\" \"" + strOutFile + "\"";
strReturn = strReturn + VeryPDFCom.PaperTools(strCmd);
MessageBox.Show(strReturn);

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

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!