These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

javascript function to rotate page in adobe reader

jacfe
Registered: Mar 26 2009
Posts: 12

hello, i'm development a viewer embedded in an html page and i use the adobe reader to view the documents, i can go to next page and prev page and last page and first page from javascript in the html document, but i need one function: this.setPageRotations.

i need that function but in adobe reader, i read about the security policies but i don't know if with the security pollicies i can do that.

if anybody can help me, please, i really appreciate that.

thank you, very much.

att,

jaime

My Product Information:
Reader 9.1, Windows
jacfe
Registered: Mar 26 2009
Posts: 12
hello again, i read about setPageRotations and now i know that i can't do that in reader, but in reader i have the option to rotate the view,

ok, my question is, can i acces rotate view from acrobat javascript?

thanks for your answer and your time

att,

Jaime
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
For Reader, you will need to use the 'execMenuItem()' method as the 'setPageRotations()' method is not available to Reader.

George Kaiser

jacfe
Registered: Mar 26 2009
Posts: 12
hello gkaiseril,

thanks for your answer,

well, can i use execMenuItem() from a document level javascript, with a trusted function?

thanks again

att, Jaime