Click or drag to resize
Pdf Library for .NET

PdfViewerPreferences Properties

The PdfViewerPreferences type exposes the following members.

Properties
 NameDescription
Public propertyCenterWindow Gets or sets a flag specifying whether to position the document's window in the center of the screen. Default: false.
Public propertyDisplayDocTitle Gets or sets a flag specifying whether the window's title bar should display the document title. Default: false.
Public propertyFitWindow Gets or sets a flag specifying whether to resize the document's window to fit the size of the first displayed page. Default: false.
Public propertyHideMenuBar Gets or sets a flag specifying whether to hide the pdf viewer application's menu bar when the document is active. Default: false.
Public propertyHideToolbar Gets or sets a flag specifying whether to hide the pdf viewer application's tool bars when the document is active. Default: false.
Public propertyHideWindowUI Gets or sets a flag specifying whether to hide user interface elements in the document's window (scroll bars, navigation controls), leaving only the document contents visible. Default: false.
Public propertyNonFullScreenPageMode Gets or sets the document page mode when the pdf viewer application exits full-screen mode. Only meaningful when PageMode is FullScreen. Default: UseNone. Round-trips through get / set but is not currently persisted to the output PDF.
Public propertyPageLayout Gets or sets the page layout to be used when the document is opened. Default: OneColumn.
Public propertyPageMode Gets or sets the page mode (which panel is open) when the pdf document is opened. Default: UseNone.
Top
See Also