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

How can we register PaperToolsCom.exe on windows pc?

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

Related Posts