Do you own a Quick PDF Library 7 or iSEDQuickPDF license? Upgrade to Quick PDF Library 8 today!

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;

© 2011 Debenu. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum