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 - NewOutline
  FAQ FAQ  Forum Search   Register Register  Login Login

NewOutline

 Post Reply Post Reply
Author
Message
skwirelboy View Drop Down
Team Player
Team Player


Joined: 27 Feb 06
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote skwirelboy Quote  Post ReplyReply Direct Link To This Post Topic: NewOutline
    Posted: 10 Jun 08 at 1:07PM

I am using the NewOutline function. If I try to bookmark a document which starts on the first page when you click on the bookmark link in the finished pdf it always takes you to the second page in the pdf not the first.

I have tried setting the destpage param to 0 and 1. 0 doesn't work at all and 1 takes you to the second page.
 
I have tried setting the destposition to combinations of 0 or 1 and this makes no difference.
 
Is there a  bug in NewOutline or am I doing something wrong.
 
Incidentally what is the recommended value for destposition where you just want to display the page as normal?
 
Thanks
 
Mark
Back to Top
Wheeley View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 Oct 05
Location: United States
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wheeley Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jun 08 at 1:30AM
You need to select the page you want as the target for the bookmark. Here's the code I use to create a bookmark for the top of the selected page:

SelectPage (pageNbr)
NewOutline (0, bookmarkText, pageNbr, PageHeight())

Hope this helps
Wheeley
Back to Top
skwirelboy View Drop Down
Team Player
Team Player


Joined: 27 Feb 06
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote skwirelboy Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jun 08 at 12:33PM
Hi Wheeley. SelectPage worked. Only seemed to need to do it for first document though. Odd.
 
Many thanks
Back to Top
Wheeley View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 Oct 05
Location: United States
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wheeley Quote  Post ReplyReply Direct Link To This Post Posted: 19 Jun 08 at 4:47PM
You need to select the page for EACH document AFTER it is loaded into QuickPDF.

Wheeley

Back to Top
skwirelboy View Drop Down
Team Player
Team Player


Joined: 27 Feb 06
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote skwirelboy Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 08 at 4:50AM

It doesn't seem to be necessary. Even though I don't call selectpage for each document after the first the bookmark works fine.

 

Regards

 

Mark

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