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 - How do I change zoom of link to pages in PDF?
  FAQ FAQ  Forum Search   Register Register  Login Login

How do I change zoom of link to pages in PDF?

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


Joined: 15 Sep 16
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote menteith Quote  Post ReplyReply Direct Link To This Post Topic: How do I change zoom of link to pages in PDF?
    Posted: 15 Sep 16 at 12:50AM
Hi all,

This is my first post. I'd like to change zoom of all links pointing to pages in a pdf file. Debenu has similar topic on finding and replacing URL links in PDF files.

Here's the code from: Debenu Product Knowledgebase
// Load PDF to process
DPL.LoadFromFile(@"C:\Temp\Sample.pdf", "");
// Count pages in doc
int pCount = DPL.PageCount();
 
// Iterate through each page in the doc
for (int p = 1; p <= pCount; p++)
{
 // Select page to scan
 DPL.SelectPage(p);
 
 // Count annotations on the page
 int annotCount = DPL.AnnotationCount();
 
 // Loop through each annotation
 for (int a = 1; a <= annotCount; a++)
 {
  // Get annotation's ID
  int annotActionID = DPL.GetAnnotActionID(a);
 
  // Find out annotation's action type, we are looking for URI
  string actionType = DPL.GetActionType(annotActionID);
 
  // If action type is URI, we've found something to change
  if (actionType == "GoTo") // I changed it to "GoTo"
  

Here's my question. Debenu has SetDestProperties function. I have tried it to change zoom but
with no luck. Can it be used to do so?

Many thanks
Back to Top
menteith View Drop Down
Beginner
Beginner


Joined: 15 Sep 16
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote menteith Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 16 at 4:11PM
Nobody?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 16 at 7:36PM
You're too impatient. The post is still new from yesterday...
you should wait few days... perhaps then somebody will answer.
This is only a user-forum here!
If you wanna change the zoom while opening a pdf-file you should take SetOpenActionDestination:
http://www.debenu.com/docs/pdf_library_reference/SetOpenActionDestination.php
It'll work ... i'm using it, too.

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
menteith View Drop Down
Beginner
Beginner


Joined: 15 Sep 16
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote menteith Quote  Post ReplyReply Direct Link To This Post Posted: 16 Sep 16 at 10:54AM
Sorry, I was sure that when nobody answers for one day it means that the topic is dead. I was obviously wrong:)
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 16 Sep 16 at 11:59PM
You need to know that, here, this is  very small user's community (in Internet Scope meaning) so there is not a lot of users in "always on line" mode.
To compare, and to know what I mean you can look here:
https://www.autoitscript.com/forum/

And there (in AutoItForum) is almost always some MVP on line.
For example just now 2*MVP + 1*MOD + 37 loged users, +632 GUESTS ! 

ps.
If you want to change it, I encourage you to learn, and the more frequent of visiting QuickPDF forum :)


Edited by mLipok - 17 Sep 16 at 12:23AM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
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