SetDisplayMode

SetDisplayMode(mixed zoom [, string layout])

Description

Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat). The page layout can be specified too: single at once, continuous display, two columns or viewer default.
By default, documents use the full width mode with continuous display.

Parameters

zoom
The zoom to use. It can be one of the following string values: or a number indicating the zooming factor to use.
layout
The page layout. Possible values are: Default value is continuous.

Index