Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfViewerPreferences Class
Class for PDF viewer application preferences. Viewer application preferences specify the way the document is to be displayed on the screen.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfViewerPreferences

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public sealed class PdfViewerPreferences
VB
Public NotInheritable Class PdfViewerPreferences

The PdfViewerPreferences type exposes the following members.

Properties

  NameDescription
Public propertyCenterWindow
Gets or sets a value indicating whether to position the document’s window in the center of the screen.
Public propertyDisplayTitle
Gets or sets a value specifying whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary (see Title).
Public propertyFitWindow
Gets or sets a value indicating whether to resize the document’s window to fit the size of the first displayed page.
Public propertyHideMenuBar
Gets or sets a value indicating whether to hide the viewer application’s menu bar when the document is active.
Public propertyHideToolBar
Gets or sets a value indicating whether to hide the viewer application’s tool bars when the document is active.
Public propertyHideWindowUI
Gets or sets a value indicating 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.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides Object.ToString().)

See Also