on 11-10-2010 10:55 AM
Hi
Is it possible to programmatically set the zoom level of an interactive form?
I guess it can be done using javascript.
Thank you for your help
regards
Yuval
Did you resolve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan
1. Sorry for the misspelling. It is as you say event.target.zoom.
2. Strangeely code completion does not mention such a method.
3. Still the code does not work. The plugin acts strangely as each time it opens the document with a different zoom level
4. I put the code on the highest level under the method "docReady"
regards
yuval
Hi Yuval,
I have done the sample file find it from the below link
http://www.mediafire.com/?yjdlprbyi92qz
You can see the zoom event working and the difference when the script is executed.
If you want to check the scrip just import this PDF into ADLC.
Cheers,
Sai
Write the following JavaScript code in the docReady event of the Top Level Main Subform
event.target.zoom = 50; // To set Zoom to 50%
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.