Some test text!
If you are new to the Visual Studio development environment, follow along with these steps to set the dependencies for your project with PDFTron SDK Correctly. In such a case it is recommended to use Visual Studio 2017 or 2019.
Open a new instance of Visual Studio. Go to the
File menu and create a new project
File > New > Project...
You can also open the
New Project dialog using
Ctrl + Shift + N.
Visual C++in the left navigation bar and Select
Windows Console Application.
Set a name for the console application. This guide will call it
myapp. Click on
OK. This should generate a default console project and open a
.cpp file for you in Visual Studio.
Solution Explorerto the right of the screen and right click on your project's name. At the bottom of the list, click on the
Propertiesoption. This will open a dialog that will allow you to define important variables to compile your project with PDFNet classes and methods.
In the Configuration properties in the left panel, expand the C/C++ menu. In General settings, find the
Additional Include Directories field. Add the following path:
You can open a dialog to do the same by clicking on the
Edit... option from the drop down for this field.
Now navigate to the Linker Menu below C/C++. In the Input settings, find the
Additional Dependencies and replace the entry with:
Note: For Steps 5 & 6, remember to replace
PDFNET_BASE with the copied path on your clipboard.
Go back to your explorer and navigate to this directory:
PDFNetC.dll file. Now find the output folder of the project and paste it there.
By default, the path to your output folder will look similar to this:
Remember to replace
User_Name with the name of the current user.
Alternatively, you can find your project by searching by its name in the Windows Search Bar.
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.