Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library
Tutorials > C# > Getting Started
Previous | Next

Setup C# for use with Debenu Quick PDF Library

This tutorial shows you how to get ready to create your first PDF application with C# and Debenu Quick PDF Library.

C# can be used with the ActiveX and DLL editions of Debenu Quick PDF Library — instructions for setting up both editions in Visual Studio can be found below.

Step By Step

ActiveX Edition

1. Register the ActiveX DLL

The first thing you'll need to do is register the ActiveX component. Instructions on how to do this can be found on the getting started page for the ActiveX edition of Debenu Quick PDF Library.

2. Create a new C# project in Visual Studio

Create a new Windows Forms Application Microsoft Visual Studio and give it a name of your choosing.

  • File > New > Project > Visual C# > Windows > Windows Forms Application

3. Add a Reference to Debenu Quick PDF Library's registered ActiveX component

In order for you to access Debenu Quick PDF Library's registered ActiveX component you'll need to add a reference to it in Visual Studio. Follow these simple steps:

  • Click on the Project > Add References menu item
  • Find and select Debenu Quick PDF Library 12.11 in the available references
  • Click OK and this reference will be added to your project

4. Ready!

You're now setup and ready to move on to the fun part — creating your first PDF application with Debenu Quick PDF Library and C#!.


DLL Edition

1. Install the DLL Edition

Included with the single DLL file DebenuPDFLibraryDLL01211.dll are various header/import files. They provide an easier way to interface with Debenu Quick PDF Library. These can be found in the Debenu Quick PDF Library > DLL > Import folder.

Additional instructions how to work with the DLL edition can be found on the getting started page for the DLL edition of Debenu Quick PDF Library and some more tips can be found in the knowledge base.

2. Copy the DLL and header/import file

Copy the DebenuPDFLibraryDLL01211.dll file to a folder of your choosing or leave it in the default installation folder:

  • C:\Program Files\Debenu Quick PDF Library\DLL

Also, copy the DebenuPDFLibraryDLL01211.cs file to a folder of your choosing or leave it in the default installation folder:

  • C:\Program Files\Debenu Quick PDF Library\DLL\Import\CSharp\DebenuPDFLibraryDLL01211.cs

3. Create a new C# project in Visual Studio

Create a new Windows Forms Application Microsoft Visual Studio and give it a name of your choosing.

  • File > New > Project > Visual C# > Windows > Windows Forms Application

4. Add the C# header/import file to the project

The C# header/import file makes it easier to access the DLL edition of Debenu Quick PDF Library and saves you from having to manually setup each function from the DLL that you wish to use. Follow these simple steps to add the header/import file:

  • In Visual Studio click on the Project > Add Existing Item menu item
  • Find and select DebenuPDFLibraryDLL01211.cs. Refer to step 2 for guidance
  • Click OK and this existing item will be added to your project

5. Add a namespace for Debenu Quick PDF Library

You will need to add a namespace for Debenu Quick PDF Library which references the header/import file. The namespace is DebenuPDFLibraryDLL01211. It should look like this:

  • using DebenuPDFLibraryDLL01211;

6. Ready!

. You're now setup and ready to move on to the fun part — creating your first PDF application with Debenu Quick PDF Library and C#!.

Let us know what you think

We provide code samples to give you a good idea of how to use the Debenu Quick PDF Library with the language of your choice. There is a steadily growing collection of code samples to get you started, but if you suggestions for other samples you would like to see, please let us know.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum