Class ViewerPreferences
- Namespace
- EvoPdf
- Assembly
- evohtmltopdf.dll
Represents the viewer preferences of the PDF document generated by the HTML to PDF converter
[ClassInterface(ClassInterfaceType.AutoDual)]
public class ViewerPreferences
- Inheritance
-
ViewerPreferences
- Inherited Members
Constructors
ViewerPreferences()
public ViewerPreferences()
Properties
CenterWindow
A flag specifying whether to position the document’s window in the center of the screen when displaying the PDF document generated by the HTML to PDF converter. Default value: False.
public bool CenterWindow { get; set; }
Property Value
Direction
The predominant reading order for text when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. 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 PDF document generated by the HTML to PDF converter is opened. Default value: OneColumn.
public ViewerPageLayout PageLayout { get; set; }
Property Value
PageMode
Specifies how the PDF document generated by the HTML to PDF converter should be displayed when opened. Default value: UseNone.
public ViewerPageMode PageMode { get; set; }