ViewerPreferences ClassByteScout PDF SDK
Represents the class for the PDF viewer application preferences.
Inheritance Hierarchy

SystemObject
  Bytescout.PDFViewerPreferences

Namespace:  Bytescout.PDF
Assembly:  Bytescout.PDF (in Bytescout.PDF.dll) Version: 1.9.9.374-local
Syntax

public class ViewerPreferences

The ViewerPreferences 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 propertyDirection
Gets or sets the predominant reading order for text.
Remarks

This property has no direct effect on the document’s contents or page numbering but can be used to determine the relative positioning of pages when displayed side by side or printed n-up.
Public propertyDisplayDocumentTitle
Gets or sets a value indicating whether the window’s title bar should display the document title taken from the Title property of the document information.
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 propertyFullScreenPageMode
Gets or sets how to display the document on exiting full-screen mode.
Remarks

This property is meaningful only if the value of the PageMode property in the document is FullScreen; it is ignored otherwise.
Public propertyHideMenubar
Gets or sets a value indicating whether to hide the viewer applications menu bar when the document is active.
Public propertyHideToolbar
Gets or sets a value indicating whether to hide the viewer applications tool bars when the document is active.
Public propertyHideWindowUI
Gets or sets a value indicating whether to hide user interface elements in the documents window (such as scroll bars and navigation controls), leaving only the document’s contents displayed.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference