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!
GoTo annotation - what is the Zoom Level |
Post Reply |
Author | |
ZarkoGajic
Beginner Joined: 18 Mar 09 Location: Croatia Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 31 May 10 at 3:27PM |
Hi, For an existing GoTo type annotation (link to a page in the same document), how do I read the "zoom" level? More precisely, I am interested if the zoom is "inherit". |
|
-zarko gajic
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Zarko!
Please have a look for yourself in the online-reference at section "annotations...". If there's something useful in the sdk for your needs then it's there. Please read the descriptions. Cheers, Ingo |
|
ZarkoGajic
Beginner Joined: 18 Mar 09 Location: Croatia Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Ingo,
Did so already. But found nothing (or missed to find it).
|
|
-zarko gajic
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Zarko!
So what do you think this should mean ;-) BTW: You can post this as a new wanted feature on the official support pages. Cheers, Ingo Edited by Ingo - 01 Jun 10 at 9:46PM |
|
ZarkoGajic
Beginner Joined: 18 Mar 09 Location: Croatia Status: Offline Points: 19 |
Post Options
Thanks(0)
|
:) Was looking for a magical answer.
p.s. Already done...
|
|
-zarko gajic
|
|
Rowan
Moderator Group Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
|
We'll be adding enhanced support for retrieving information about actions for annotation links in version 7.21. This will then give you the ability to retrieve the zoom settings for GoTo and GoToR actions. There will be a beta version publicly available sometime in the next week or two.
|
|
Rowan
Moderator Group Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
|
In 7.21 beta 3 there are two new functions: GetActionDest GetAnnotDest For hotspot annotations the destination can either be specified directly in the annotation or it can be specified via a GoTo action. So, depending on the particular PDF, you can now do something like this: var ActionID: Integer; DestID: Integer; AnnotID: Integer; begin AnnotID := <something here to get the annotation> DestID := QP.GetAnnotDest(AnnotID); if (DestID = 0) then begin // The annotation does not have a destination // specified directly, try get it via an action ActionID := QP.GetAnnotActionID(AnnotID); DestID := QP.GetActionDest(ActionID); end; if (DestID > 0) then begin Zoom := QP.GetDestValue(DestID, 5); end; end; If the Zoom value is zero it means that the zoom is not changed - I think that's what you meant by it being inherited.
|
|
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