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!
![]() |
quick PDF Lite |
Post Reply ![]() |
Author | |
dmtulsa ![]() Beginner ![]() Joined: 20 Oct 10 Location: US Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 20 Oct 10 at 3:34PM |
I'm just starting with this so please go easy on me. I'm using the lite version 7.19 and I did register it. The code is in powerbasic ver 9.x. My question is can I open a PDF file and display it with this version? I see nothing in the reference guide about rendering.
LoadFromFile returns a 0 so maybe there are some steps I'm missing. #INCLUDE Once "..\modules\QuickPDFLite0719.inc" Global QPL As QuickPDFLite0719IPDFLibrary 'line 41 of include file ''''Form load Function FORM1_WM_CREATE ( _ hWndForm As Dword, _ ' handle of Form ByVal UserData As Long _ ' optional user defined Long value ) As Long Local Result As Long ' Get a reference and set the properties QPL = newcom $PROGID_QuickPDFLite0719PDFLibrary 'Line 16 of include file End Function ''''button click Function FORM1_COMMAND1_BN_CLICKED ( _ ControlIndex As Long, _ ' index in Control Array hWndForm As Dword, _ ' handle of Form hWndControl As Dword, _ ' handle of Control idButtonControl As Long _ ' identifier of button ) As Long Local DocID As Long Local Result As Long Local imgFile As String Local ImageID As Long Local MyPDF As String Local FontID As Long Local FontMain As Long MyPDF = "c:\Projects\QuickPDFLite\release\mypdf.pdf" If IsFalse(IsObject(QPL)) Then MsgBox "Unable to create an object refrence." Exit Function End If result = QPL.loadFromFile(mypdf) 'result = QPL.DAOpenFile("c:\Projects\QuickPDFLite\release\AD8302.pdf") MsgBox Str$(result) End Function Maybe this can't even be done in the lite version but I doubt it. What I need to do is open a pdf and display it Thank you Doug |
|
![]() |
|
Rowan ![]() Moderator Group ![]() ![]() Joined: 10 Jan 09 Status: Offline Points: 398 |
![]() ![]() ![]() ![]() ![]() |
Hi Doug,
Quick PDF Library Lite does not include any of the rendering functions required to display PDF files. This functionality is only available in the commercial version of the library. In the version 7.21 reference guide a list of the functions supported in the Lite edition can be found on page 641 in the "Appendix C: Functions available in the Lite Edition" section. Cheers, - 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