SetaPDF_Merger::setDisplayMode()
Description
class SetaPDF_Merger extends SetaPDF {
mixed setDisplayMode ( mixed $zoom[, mixed $layout=false] )
}
Defines the way the document is to be displayed by the viewer.
Parameters
$zoom
The zoom to use. It can be one of the following string values:
- fullpage: displays the entire page on screen
- fullwidth: uses maximum width of window
- real: uses real size (equivalent to 100% zoom)
- default: uses viewer default mode
or a number indicating the zooming factor to use.
$layout
The page layout. Possible values are:
- single: displays one page at once
- continuous: displays pages continuously
- two: displays two pages on two columns
- default: uses viewer default mode
Default value is continuous.
Return Value
Just returns an SetaPDF_Error object if an error occurs. In case of success the method returns nothing.