Fit to page script

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)

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};

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.