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 Adobe Reader). The page layout can be specified too: single at once, continuous display, two columns or viewer default.

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 default.

Index