Table of Contents

Class PdfViewerPreferences

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents the PDF document viewer preferences dictionary.

public sealed class PdfViewerPreferences : PdfDictionary
Inheritance
object
PdfViewerPreferences
Inherited Members
Extension Methods

Properties

CenterWindow

Gets or sets a value indicating whether to position the document’s window in the center of the screen.

Direction

The predominant reading order for text: LeftToRight or RightToLeft (including vertical writing systems, such as Chinese, Japanese, and Korean). 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: LeftToRight.

DisplayDocTitle

Gets or sets a value indicating 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.

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 toolbars when the document is active.

HideWindowUI

Gets or sets a value indicating 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.