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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - quick PDF Lite
  FAQ FAQ  Forum Search   Register Register  Login Login

quick PDF Lite

 Post Reply Post Reply
Author
Message
dmtulsa View Drop Down
Beginner
Beginner


Joined: 20 Oct 10
Location: US
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmtulsa Quote  Post ReplyReply Direct Link To This Post Topic: quick PDF Lite
    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


Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 21 Oct 10 at 10:56AM
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store