View preferences
Informations
Author: Michel Poulain
License: FPDF
Description
This script allows to set some viewer preferences.
DisplayPreferences(string preferences)
The available settings are (case-sensitive):
FullScreen
: displays the document full-screen
HideMenubar
: hides the menu
HideToolbar
: hides all toolbars
HideWindowUI
: hides all window elements (scrollbars, navigation controls, bookmarks...)
DisplayDocTitle
: displays the title of the document instead of the file name
CenterWindow
: centers the window
FitWindow
: sizes the window (when not maximized) to fit the page
Note: these settings are ignored when the PDF is displayed in a browser.