Light Theme Dark Theme GitHub Samples Nuget Trial Download


Instantiating the Library

The Library object must be instantiated on each thread before any of the PDFL objects are used. If the Library object is instantiated on any thread, it must also at least be instantiated on the main thread.

In addition, for cleanup purposes, the Dispose method must be called on the Library object before the thread is terminated.

A simple way to accomplish this is a using statement:

   using (Library lib = new Library())

      // your application code that uses PDFL goes here...

The Library object can be instantiated without specifying flags or a list of Resource locations. User resources will be placed first in the search list.

Activating a License-Managed version

To use an activation key, the LibraryKey member of the Library class can be set to a valid activation key prior to instantiating the library.

   Library.LicenseKey = "xxxx-xxxx-xxxx-xxxx";

   Library lib = new Library();



High-Level Topics


Getting Started


Introduction