Adobe acrobat forms javascript object specification User Manual

Page of 64
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;