You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using your Acrobat-Actions plugin. Thank you for the code.
I'm trying to figure out how to to make all of my bookmark actions inherit zoom.
In FixAllBookmarks(PDDoc doc, PDBookmark b, int acc),
you set targetFitType = ASAtomFromString("XYZ"), and zoomLevel = PDViewDestNULL
eg
PDViewDestCreate(doc,
page, /* := pageNum /
targetFitType, / XYZ /
&destRect,
PDViewDestNULL, / when FitType is XYZ /
0); / unused */
Is this equivalent to setting the action zoom level to Inherit Zoom?
Thanks for your help,
The text was updated successfully, but these errors were encountered:
Thanks for letting me know that my simple plugin has found users other than myself.
Yes, "XYZ" is the keyword for "inherit zoom", which is defined in PDF standard (I remember that I checked the standard or other books to actually know it. It's not from Acrobat SDK document.)
P. S. It's hard to find third-party Acrobat plugin source code on Internet (at least I didn't find anything when I'm writing this code). If you have ideas (or code) on new features, I hope you can contribute some.
Hello, I'm using your Acrobat-Actions plugin. Thank you for the code.
I'm trying to figure out how to to make all of my bookmark actions inherit zoom.
In FixAllBookmarks(PDDoc doc, PDBookmark b, int acc),
you set targetFitType = ASAtomFromString("XYZ"), and zoomLevel = PDViewDestNULL
eg
PDViewDestCreate(doc,
page, /* := pageNum /
targetFitType, / XYZ /
&destRect,
PDViewDestNULL, / when FitType is XYZ /
0); / unused */
Is this equivalent to setting the action zoom level to Inherit Zoom?
Thanks for your help,
The text was updated successfully, but these errors were encountered: