Skip to content

PdfViewerPreferences Class

Definition

Namespace: Xfinium.Pdf

Defines the way the document is to be presented on the screen or in print.

C#
public class PdfViewerPreferences : Object

Inheritance: Object → PdfViewerPreferences

Constructor

Name Description
PdfViewerPreferences() Initializes a new PdfViewerPreferences object.

Properties

Name Description
CenterWindow Gets or sets a value indicating whether to position the document's window in the center of the screen.
CosDictionary Gets the COS dictionary asssociated with this object.
DisplayDocumentTitle Gets or sets a value indicating whether the window's title bar should display the document title taken from the PdfDocumentInformation.Title.
DuplexPrinting Gets of set the recommended duplex printing mode.
FitWindow Gets or sets a value indicating whether to resize the document's window to fit the size of the first displayed page.
HideMenubar Gets or sets a value indicating whether to hide the viewer application's menu bar when the document is active.
HideToolbar Gets or sets a value indicating whether to hide the viewer application's tool bars when the document is active.
HideWindowUI Gets or sets a value indicating whether to hide user interface elements.
NonFullScreenPageMode Gets or sets the document's page mode.
NumberOfCopies Gets or sets number of copies that shall be printed.
PickTrayByPdfSize Gets or sets a value indicating whether the PDF page size shall be used to select the input paper tray.
PrintPageRange Gets or sets the print page range.
PrintScaling Gets or sets how the print scaling.