Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

zoom to fit width

mistersing
Level 2
Level 2
I am dealing with a document that has 3 different masterpages all of different sizes. Yes this is necessary as it turns out. My problem is that when navigating from one page to another, the page that is navigated to does not fill the screen the way I need it to. I'm looking for a JavaScript that will work in LiveCycle in the same fashion that -



this.zoomType = zoomtype.fitW;



- works in Acrobat. Is there a script that will allow my pages to "fit to width" in LiveCycle when navigating from one to another?



Thank you.
1 Reply
pguerett
Level 10
Level 10
On the enter event of each page use this command:



event.target.zoomType = zoomtype.fitW;