Click or drag to resize
Pdf Library for .NET

HtmlToPdfViewerPreferences Properties

The HtmlToPdfViewerPreferences type exposes the following members.

Properties
 NameDescription
Public propertyCenterWindow Gets or sets a value indicating whether the viewer centers its window on the screen.
Public propertyDisplayDocTitle Gets or sets a value indicating whether the viewer displays the document title (rather than the file name) in its title bar.
Public propertyFitWindow Gets or sets a value indicating whether the viewer resizes its window to fit the first page.
Public propertyHideMenuBar Gets or sets a value indicating whether the viewer hides its menu bar when the document is opened.
Public propertyHideToolbar Gets or sets a value indicating whether the viewer hides its toolbar when the document is opened.
Public propertyHideWindowUI Gets or sets a value indicating whether the viewer hides its window controls (scrollbars, navigation panels) when the document is opened, leaving only the page content visible.
Public propertyNonFullScreenPageMode Gets or sets the page mode the viewer returns to when the document exits full-screen mode. Defaults to UseNone.
Public propertyPageLayout Gets or sets the page layout the viewer uses when the document is opened (single page, one column, two columns). Defaults to OneColumn.
Public propertyPageMode Gets or sets the page mode the viewer uses when the document is opened (for example, showing the outline or thumbnails panel). Defaults to UseNone.
Top
See Also