Fit to page script

Avatar

Avatar

vigneshs5397046

Avatar

vigneshs5397046

vigneshs5397046

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

radzmar

MVP

Avatar

radzmar

MVP

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

vigneshs5397046

Avatar

vigneshs5397046

vigneshs5397046

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

radzmar

MVP

Avatar

radzmar

MVP

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

vigneshs5397046

Avatar

vigneshs5397046

vigneshs5397046

06-03-2018

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

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

04-08-2017

Hi,

this article describes a method you can use.

LiveCycle Blog: Ansicht kontrollieren//Control view