EasyManua.ls Logo

Adobe ACROBAT FORMS JAVASCRIPT OBJECT - Producer; Subject; Title; Zoom

Adobe ACROBAT FORMS JAVASCRIPT OBJECT
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Acrobat Forms - JavaScript Object Specification
23
Use this property to get or set a page of the document. When setting the pageNum to a specific
page, remember that the values are “0” based.
// This example will go to the first page of the document.
this.pageNum=0;
Or pageNum can be used to advance “n” pages in the document:
// This example will advance the document to the next page
this.pageNum++;
producer
Type: String Access: R
This property contains producer of the document (e.g. “Acrobat Distiller”, “PDFWriter”, etc.).
subject
Type: String Access: R/W
This property defines the document’s subject.
title
Type: String Access: R/W
This property specifies the document’s title
zoom
Type: Integer Access: R/W
Use this property it to get or set the current page zoom level. The values allowed are 12% and
800% specified as an integer.
Example:
// This example will zoom in to twice the current zoom level.
this.zoom *= 2;
// This now sets the zoom to 200%
this.zoom = 200;

Table of Contents

Related product manuals