The PdfViewerPreferences type exposes the following members.

Constructors

  Name Description
Public method PdfViewerPreferences
Initializes a new instance of the PdfViewerPreferences class.

Methods

  Name Description
Public method AssignFrom
Assigns (copies) properties from another PdfViewerPreferences to the current object.
Public method Clone
Creates a copy of the current PdfViewerPreferences object.

Properties

  Name Description
Public property CenterWindow
Gets or sets a value indicating whether to position the PDF document's window in the center of the screen.
Public property FitWindow
Gets or sets a value indicating whether to resize the PDF document's window to fit the size of the first displayed page.
Public property HideMenuBar
Gets or sets a value indicating whether to hide the viewer menu bar when the PDF document is active.
Public property HideToolBar
Gets or sets a value indicating whether to hide the viewer toolbars when the PDF document is active.
Public property PageLayout
Gets or sets the page layout to be used when the PDF document is opened.
Public property PageMode
Gets or sets a value indicating how the PDF document should be displayed when opened.

See Also