zoomType
Type: String
Access: R/W
This property specifies the current zoom type of the document. Valid zoom types are:
none, fit
page, fit width, fit height,
and
fit visible width.
A convenience
zoomType
object that defines all
the valid zoom types is provided for use from JavaScript. It provides the following zoom types:
Zoom Type
NoVary
FitPage
FitWidth
FitHeight
FitVisibleWidth
Preferred
Keyword
zoomtype.none
zoomtype.fitP
zoomtype.fitW
zoomtype.fitH
zoomtype.fitV
zoomtype.pref
Example:
// This example sets the zoom type of the document to fit the width.
this.zoomType = zoomtype.fitW;
Doc Object Methods
calculateNow
Parameters: none
Returns: nothing
Use this function to force computation of all calculation fields in the current document.
exportAsFDF
Parameters: [bAllFields], [bNoPassword], [aFields], [bFlags]
Returns: nothing
4.0
Use this method to export an FDF file to the local hard drive. Upon invocation, a dialog will be
shown to let the user select the file to export to.
The optional
bAllFields
parameter indicates, if true, that all fields are exported, including those
that have no value, and if false (the default) to exclude those that currently have no value.
The optional
bNoPassword
parameter indicates, if true (the default), not to include in the
exported FDF text fields that have the “password” flag set.
Acrobat Forms - JavaScript Object Specification
24
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.