Show / Hide Table of Contents

# Enum PDFDocViewPrefs.ViewerPref

ViewerPref enumeration specifies how various GUI elements should behave when the document is opened.

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public enum PDFDocViewPrefs.ViewerPref

### Fields

Name | Description
--- | ---
e_CenterWindow | A enumerator specifying whether to resize the document's window to fit the size of the first displayed page.
e_DisplayDocTitle | A flag specifying whether the window's title bar should display the document title taken from the Title entry of the document information dictionary. If false, the title bar should instead display the name of the PDF file containing the document.
e_FitWindow | A enumerator specifying whether to resize the document's window to fit the size of the first displayed page.
e_HideMenubar | A enumerator specifying whether to hide the viewer application's menu bar when the document is active.
e_HideToolbar | A enumerator specifying whether to hide the viewer application's toolbars when the document is active.
e_HideWindowUI | A enumerator specifying whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed