Class DocumentViewerPreferences
- Namespace
- EvoPdf
- Assembly
- evohtmltopdf.dll
Represents the viewer preferences of the PDF document
[ClassInterface(ClassInterfaceType.AutoDual)]
public class DocumentViewerPreferences
- Inheritance
-
DocumentViewerPreferences
- Inherited Members
Properties
CenterWindow
A flag specifying whether to position the document’s window in the center of the screen. Default value: False.
public bool CenterWindow { get; set; }
Property Value
Direction
The predominant reading order for text. Default value: L2R.
public ViewerTextOrder Direction { get; set; }
Property Value
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.
public bool DisplayDocTitle { get; set; }
Property Value
FitWindow
A flag specifying whether to resize the document’s window to fit the size of the first displayed page. Default value: False.
public bool FitWindow { get; set; }
Property Value
HideMenuBar
A flag specifying whether to hide the viewer application’s menu bar when the document is active. Default value: False.
public bool HideMenuBar { get; set; }
Property Value
HideToolbar
A flag specifying whether to hide the viewer application’s tool bars when the document is active. Default value: False.
public bool HideToolbar { get; set; }
Property Value
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.
public bool HideWindowUI { get; set; }
Property Value
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.
public ViewerFullScreenExitMode NonFullScreenPageMode { get; set; }
Property Value
PageLayout
The page layout to be used when the document is opened. Default value: OneColumn.
public ViewerPageLayout PageLayout { get; set; }
Property Value
PageMode
Specifies how the document should be displayed when opened. Default value: UseNone.
public ViewerPageMode PageMode { get; set; }