Fit to page script

Avatar

Avatar
Boost 3
Level 1
vigneshs5397046
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Boost 3
Level 1
vigneshs5397046
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
View profile
vigneshs5397046
Level 1

02-08-2017

Hi,

I am new to LiveCycle Designer.

I need a fit to page script for my document and the following script "this.zoomType = zoomtype.fitP;" which I used in the acrobat pro on the "page properties" in the first page of my document.

I know this will not work for the LiveCycle Designer application.

Can you provide the script for LiveCycle Designer??

Accepted Solutions (0)

Answers (5)

Answers (5)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

07-03-2018

Sorry, but I'm not good at oracles. When you don't provide any information of you scriptings, applications etc. noone can help you.

To fit the page you just need this line of code.

event.target.viewState = {pageViewZoomType:1};

Avatar

Avatar
Boost 3
Level 1
vigneshs5397046
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Boost 3
Level 1
vigneshs5397046
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
View profile
vigneshs5397046
Level 1

07-03-2018

The windows of acrobat minimized with layout panels opened and when I maximize the acrobat window page is not fit to the window.

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

06-03-2018

Whereever you need it: As stated in the blog, you can add the script add the script to a buttons click event or the docReady event of any other form object.

Avatar

Avatar
Boost 3
Level 1
vigneshs5397046
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Boost 3
Level 1
vigneshs5397046
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Boost 1
Applaud 5
View profile
vigneshs5397046
Level 1

06-03-2018

Where should I paste that JavaScript code in the main form or somewhere else?

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

04-08-2017

Hi,

this article describes a method you can use.

LiveCycle Blog: Ansicht kontrollieren//Control view