Namespace TallComponents.PDF.Layout.Navigation
Class ViewerPreferences
Settings used to control the way the document is displayed in a PDF viewer.
If no viewer preferences are set, the user defaults will be used.
You can override the user defaults for a document by assigning a new instance of this class to the property.
Syntax
public class ViewerPreferences
: Object
Constructors
Properties
Boolean CenterWindow
Centers document window.
Boolean DisplayDocTitle
Displays the document title in the caption bar.
Duplex Duplex
The paper handling option that shall be used when printing the file from the print dialog.
Boolean FitWindow
Fits the first page.
Boolean HideMenubar
Hide menubar.
Boolean HideToolbar
Hide toolbar.
Boolean HideWindowUI
Hides everything except the document.
Int32 NumCopies
The number of copies that shall be printed when the print dialog is opened for this file.
PageLayout PageLayout
How to display pages.
PageMode PageMode
Display none, outlines or thumbnails.
Boolean PickTrayByPdfSize
A flag specifying whether the PDF page size shall be used to select the input paper tray.
PageBoundary PrintArea
The page boundary representing the area of the page to be rendered when printing the document.
PageBoundary PrintClip
The page boundary to which the contents of the page are to be clipped when printing the document.
IndexRangeCollection PrintPageRange
The page numbers used to initialize the print dialog box when the file is printed.
PrintScaling PrintScaling
The page scaling option that shall be selected when a print dialog is displayed for this document.
ReadDirection ReadDirection
The predominant reading order for the text in the document.
PageBoundary ViewArea
The page boundary representing the area of the page to be displayed when viewing the document on the screen.
PageBoundary ViewClip
The page boundary to which the contents of the page are to be clipped when viewing the document on the screen.
Double ZoomFactor
The default zoom factor for this document (1 corresponds to 100%).