How to call PDF Editor Toolkit from C# source code?

Can PDF Editor Toolkit be used with C# / .NET? If so can you point me to some example reference.
====================================================
Thanks for leaving a message for us.

Yes, our software PDF Editor Toolkit be used with C# / .NET.
Here is the manual for you:
https://www.verypdf.com/pdfsdk/pdf_merge/index.htm

During the using, if you have any question,please contact us as soon as possible.

VeryPDF
====================================================
I read through the ddocumentation in the link you provided.
It does a good job of describing the various methods that the toolkit provides.
However, there is no mention of C# usage or which .dll files provide what functionality?

I downloaded the "pdf_editor_toolkit_pro" I noticed it has a bin directory and in that directory it has various .dll files such as:
cimage.dll, encryptpdf.dll, pdfpg.dll, pdfsdk.dll, pdfshell.dll, pdfutil.dll, pdfx64.dll, verywrite.dll
I assume these contain the functionality described in the documentation?

When I try to add any of the .dll files above as a reference to a C# console application Visual Studio 2010 displays the error message:

"A reference to '...bin\"dllname".dll could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.

The only .dll I can add to my project as a reference is Interop.pdfshell.dll.

Am I trying to use the sdk incorrectly?

Additionally, how do I know what functionality each .dll contains in regards to the documentation?
====================================================
Thanks for your message, you can download PDF Editor Toolkit Pro SDK from following URL first,

https://www.verypdf.com/app/pdf-editor-toolkit/try-and-buy.html#buy
https://www.verypdf.com/pdfsdk/pdf_editor_toolkit_pro_trial.zip

after you unzip it to a folder, please go to "bin" folder, you can run following .bat files by administrator privilege,

installx32.bat

OR

installx64.bat

installx32.bat will register necessary COMs on 32bit system,
installx64.bat will register necessary COMs on 64bit system,

You need launch a CMD window by "Run as administrator" menu, then you can run these .bat files in this CMD window, then you can register these COM components properly.

These .bat files are contains following command lines,

//Included in installx32.bat file,
regsvr32 pdfshell.dll
pdfshell.exe /regserver

//Included in installx64.bat file,
C:\windows\syswow64\regsvr32.exe pdfshell.dll
pdfshell.exe /regserver

after you registered these COMs properly, you can add refer to pdfshell.exe or pdfshell.dll from C#, please refer to "vbs_examples" and "asp_interface" folders for more information.

You can also refer to following web pages for more information,

https://www.verypdf.com/wordpress/201108/register-pdfshell-dll-on-windows-7-system-1875.html
https://www.verypdf.com/wordpress/201106/verypdf-dll-as-64-bit-version-770.html
https://www.verypdf.com/wordpress/category/pdf-editor-toolkit

VeryPDF
====================================================

VN:F [1.9.20_1166]
Rating: 6.8/10 (4 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
How to call PDF Editor Toolkit from C# source code?, 6.8 out of 10 based on 4 ratings

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!