skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ViewerPreferences

Designates a viewer preferences dictionary controlling the way the document is to be presented on the screen or in print. If no such dictionary is specified, viewing and printing applications should behave in accordance with their own current user preference settings.

Inheritance
System.Object
ViewerPreferences
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Preferences
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class ViewerPreferences

Properties

Direction

The predominant reading order for text. This entry has no direct effect on the document’s contents or page numbering but can be used to determine the relative positioning of pages when displayed side by side or printed n-up. Default value: L2R.

Declaration
public DirectionType Direction { get; set; }
Property Value
DirectionType

Duplex

The paper handling option to use when printing the file from the print dialog.

Declaration
public DuplexType? Duplex { get; set; }
Property Value
System.Nullable<DuplexType>

NonFullScreenPageMode

The document’s page mode, specifying how to display the document on exiting full-screen mode. 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.

Declaration
public NonFullScreenPageModeType NonFullScreenPageMode { get; set; }
Property Value
NonFullScreenPageModeType

NumberOfCopies

The number of copies to be printed when the print dialog is opened for this file.

Declaration
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
public PrintScalingType PrintScaling { get; set; }
Property Value
PrintScalingType

ShouldCenterWindow

A flag specifying whether to position the document’s window in the center of the screen. Default value: false.

Declaration
public bool ShouldCenterWindow { get; set; }
Property Value
System.Boolean

ShouldDisplayDocumentTitle

A flag specifying whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary. If false, the title bar should instead display the name of the PDF file containing the document. Default value: false.

Declaration
public bool ShouldDisplayDocumentTitle { get; set; }
Property Value
System.Boolean

ShouldFitWindow

A flag specifying whether to resize the document’s window to fit the size of the first displayed page. Default value: false.

Declaration
public bool ShouldFitWindow { get; set; }
Property Value
System.Boolean

ShouldHideMenubar

A flag specifying whether to hide the viewer application’s menu bar when the document is active. Default value: false.

Declaration
public bool ShouldHideMenubar { get; set; }
Property Value
System.Boolean

ShouldHideToolbar

A flag specifying whether to hide the viewer application’s tool bars when the document is active. Default value: false.

Declaration
public bool ShouldHideToolbar { get; set; }
Property Value
System.Boolean

ShouldHideWindowUI

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. Default value: false.

Declaration
public bool ShouldHideWindowUI { get; set; }
Property Value
System.Boolean

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.