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

Frequently Asked Question:

Return to FAQ Index

How do I create an InstanceID in QuickPDFLibrary Lite?

Question

Quick PDF Library Lite does not appear to contain the CreateLibrary() function needed to create an InstanceID as show below in your example code for C#:

int InstanceID;
InstanceID = QuickPDFCreateLibrary();
if (QuickPDFUnlockKey(InstanceID, "your license key") == 1) {
QuickPDFDrawText(InstanceID, 100, 500, "Hello world");
QuickPDFSaveToFile(InstanceID, "C:\Docs\HelloFromDLL.pdf");
}
QuickPDFReleaseLibrary(InstanceID);

How can any of the functions in the Lite version of your PDF library be used without the CreateLibrary() function?

Answer

Quick PDF Library Lite is an ActiveX and so does not require an Instance ID. The Instance ID is only required by the DLL edition of the commercial version of Quick PDF Library.

In addition, you do not need to -- indeed, you cannot -- call the UnlockKey function when using Quick PDF Library Lite because it is a free product and there is no license key required.


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