Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Getting Started with QuickPDF Lite |
Post Reply ![]() |
Author | |
StopGap ![]() Beginner ![]() Joined: 20 Oct 10 Location: Australia Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 20 Oct 10 at 10:33PM |
I'm having trouble getting starting in Delphi - maybe I'm missing something? Does anyone have any sample code of how to load and run the QuickPDF Lite in Delphi? Any help appreciated. StopGap |
|
![]() |
|
Rowan ![]() Moderator Group ![]() ![]() Joined: 10 Jan 09 Status: Offline Points: 398 |
![]() ![]() ![]() ![]() ![]() |
Hi StopGap,
Sure, here's some sample code on how to use Quick PDF Library Lite with Delphi. Note: the Lite version of Quick PDF Library comes as an ActiveX component. You need to register the ActiveX library with Windows, using the following command: regsvr32 \QuickPDFLite0721.dll Next, here's a simple usage example: ------------------------------ uses ComObj; procedure TForm1.Button1Click(Sender: TObject); var QP: Variant; begin QP := CreateOleObject('QuickPDFLite0721.PDFLibrary'); QP.DrawText(100, 500, 'Hello World!'); QP.SaveToFile('c:\test.pdf'); QP := Unassigned; end; ------------------------------ I hope this helps. - Rowan.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store