Frequently Asked Question:
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;