Click or drag to resize
PdfViewerPreferences Class
Represents the viewer preferences of the PDF document. The PDF document is modified to apply the properties from the PdfViewerPreferences before being displayed in the viewer control and this might introduce an additional delay before the document is displayed.
Inheritance Hierarchy
SystemObject
  PdfViewer4AspNetPdfViewerPreferences

Namespace: PdfViewer4AspNet
Assembly: PdfViewerAspNet (in PdfViewerAspNet.dll) Version: 4.2
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class PdfViewerPreferences

The PdfViewerPreferences type exposes the following members.

Constructors
  NameDescription
Public methodPdfViewerPreferences
Top
Properties
  NameDescription
Public propertyDirection
The predominant reading order for text. Default value: L2R.
Public propertyDisplayDocTitle
A flag specifying whether the window’s title bar should display the document title taken from the title entry of the document information dictionary. Default value: False.
Public propertyFitWindow
A flag specifying whether to resize the document’s window to fit the size of the first displayed page. Default value: False.
Public propertyHideMainToolbar
A flag specifying whether to hide the viewer application’s tool bars when the document is active. Default value: False.
Public propertyHideMenuBar
A flag specifying whether to hide the viewer application’s menu bar when the document is active. Default value: False.
Public propertyHideWindowUI
A flag 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. Default value: False.
Public propertyNonFullScreenPageMode
The document’s page mode, specifying how to display the document on exiting full-screen mode. This entry is meaningful only if the value of the PageMode entry in the catalog dictionary is FullScreen; it is ignored otherwise. Default value: UseNone.
Public propertyPageLayout
The page layout to be used when the document is opened. Default value: OneColumn.
Public propertyPageMode
Specifies how the document should be displayed when opened. Default value: UseNone.
Top
See Also