status = doc:SetViewerPreference(flags)
doc:SetViewerPreference()
sets the viewer preferences for the document.
flags
can be a combination of the following options:
#HPDF_HIDE_TOOLBAR:
#HPDF_HIDE_MENUBAR:
#HPDF_HIDE_WINDOW_UI
#HPDF_FIT_WINDOW:
#HPDF_CENTER_WINDOW:
#HPDF_PRINT_SCALING_NONE:
#HPDF_INVALID_DOCUMENT
- An invalid document handle was set.