Winnovative HTML to PDF Converter

ViewerPreferences Class

Winnovative HTML to PDF Converter for .NET Documentation
Represents the viewer preferences of the PDF document generated by the HTML to PDF converter
Inheritance Hierarchy

SystemObject
  WinnovativeViewerPreferences

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public class ViewerPreferences

The ViewerPreferences type exposes the following members.

Constructors

  NameDescription
Public methodViewerPreferences
Initializes a new instance of the ViewerPreferences class
Top
Properties

  NameDescription
Public propertyCenterWindow
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 propertyDirection
The predominant reading order for text when displaying the PDF document generated by the HTML to PDF converter. 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 when displaying the PDF document generated by the HTML to PDF converter. Default value: False.
Public propertyFitWindow
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 propertyHideMenuBar
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 propertyHideToolbar
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 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 when displaying the PDF document generated by the HTML to PDF converter. Default value: False.
Public propertyNonFullScreenPageMode
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 propertyPageLayout
The page layout to be used when the PDF document generated by the HTML to PDF converter is opened. Default value: OneColumn.
Public propertyPageMode
Specifies how the PDF document generated by the HTML to PDF converter should be displayed when opened. Default value: UseNone.
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