Class
ViewerPreferences

Holds viewer behavior hints that influence how a PDF is initially presented on screen or printed when no user overrides are applied.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Preferences

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public class ViewerPreferences

Inheritance: objectViewerPreferences

Properties

Direction

Indicates the predominant reading order so viewers can arrange pages correctly in side‑by‑side or n‑up layouts (default: L2R).

Declaration

cs-api-definition
public DirectionType Direction { get; set; }

Property Value

DirectionType

Duplex

Requests a duplex handling mode for printing (null if unspecified).

Declaration

cs-api-definition
public DuplexType? Duplex { get; set; }

Property Value

DuplexType?

NonFullScreenPageMode

Specifies which navigation pane (if any) to show after leaving full‑screen mode (effective only when catalog PageMode is FullScreen; default: UseNone).

Declaration

cs-api-definition
public NonFullScreenPageModeType NonFullScreenPageMode { get; set; }

Property Value

NonFullScreenPageModeType

NumberOfCopies

Specifies the initial number of copies the print dialog should propose (default: One).

Declaration

cs-api-definition
public NumberOfCopiesType NumberOfCopies { get; set; }

Property Value

NumberOfCopiesType

PrintScaling

The page scaling option to be selected when a print dialog is displayed for this document. Valid values are None, which indicates that the print dialog should reflect no page scaling, and AppDefault, which indicates that applications should use the current print scaling. If this entry has an unrecognized value, applications should use the current print scaling. Default value: AppDefault.

Declaration

cs-api-definition
public PrintScalingType PrintScaling { get; set; }

Property Value

PrintScalingType

ShouldCenterWindow

Indicates whether to center the document window on the screen when opened (default: false).

Declaration

cs-api-definition
public bool ShouldCenterWindow { get; set; }

Property Value

bool

ShouldDisplayDocumentTitle

Indicates whether the window title bar should show the document Title metadata instead of the file name (default: false).

Declaration

cs-api-definition
public bool ShouldDisplayDocumentTitle { get; set; }

Property Value

bool

ShouldFitWindow

Indicates whether to resize the window to exactly fit the first displayed page (default: false).

Declaration

cs-api-definition
public bool ShouldFitWindow { get; set; }

Property Value

bool

ShouldHideMenubar

Indicates whether the viewer should hide its menu bar while this document is active (default: false).

Declaration

cs-api-definition
public bool ShouldHideMenubar { get; set; }

Property Value

bool

ShouldHideToolbar

Indicates whether the viewer should hide its toolbars while this document is active (default: false).

Declaration

cs-api-definition
public bool ShouldHideToolbar { get; set; }

Property Value

bool

ShouldHideWindowUI

Indicates whether to suppress standard window UI (scroll bars, navigation panels) so only page content is shown (default: false).

Declaration

cs-api-definition
public bool ShouldHideWindowUI { get; set; }

Property Value

bool