PDF Viewer Control for ASP.NET
PdfViewerPreferences Class
NamespacesPdfViewer4AspNetPdfViewerPreferences
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.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class PdfViewerPreferences
<SerializableAttribute> _
Public Class PdfViewerPreferences
[SerializableAttribute]
public ref class PdfViewerPreferences
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PdfViewerPreferences()()()
Initializes a new instance of the PdfViewerPreferences class

Direction
The predominant reading order for text. Default value: L2R.

DisplayDocTitle
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.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FitWindow
A flag specifying whether to resize the document’s window to fit the size of the first displayed page. Default value: False.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HideMainToolbar
A flag specifying whether to hide the viewer application’s tool bars when the document is active. Default value: False.

HideMenuBar
A flag specifying whether to hide the viewer application’s menu bar when the document is active. Default value: False.

HideWindowUI
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.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NonFullScreenPageMode
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.

PageLayout
The page layout to be used when the document is opened. Default value: OneColumn.

PageMode
Specifies how the document should be displayed when opened. Default value: UseNone.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
PdfViewerPreferences

Assembly: PdfViewerAspNet (Module: PdfViewerAspNet) Version: 3.1.0.16909 (3.1.0.0)