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 use the ActiveX edition of Quick PDF Library with Delphi?

Question

How do I use the ActiveX edition of Quick PDF Library with Delphi?

Answer

A simple way to use the ActiveX edition of Quick PDF Library with Delphi is to use CreateOleObject to call the ActiveX component.

A code sample is included here:

uses
 ComObj;
procedure TForm1.Button1Click(Sender: TObject);
var
 QP: Variant;
begin
 QP := CreateOleObject('QuickPDFAX0717.PDFLibrary');
 QP.UnlockKey('type your license key here');
 QP.DrawText(100, 500, 'Hello World!');
 QP.SaveToFile('c:\test.pdf');
 QP := Unassigned;
end;

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