Table of Contents

Class PdfViewerPreferences

Namespace
MiPdf
Assembly
MiPdf.dll

Viewer preferences of the document (/ViewerPreferences, ISO 32000-1, 12.2). Missing entries read as false, the PDF default; setting false removes the entry.

public sealed class PdfViewerPreferences
Inheritance
PdfViewerPreferences
Inherited Members

Properties

CenterWindow

Center the document window on the screen (/CenterWindow).

public bool CenterWindow { get; set; }

Property Value

bool

Dictionary

The underlying dictionary; created on first write access.

public PdfDictionary? Dictionary { get; }

Property Value

PdfDictionary

DisplayDocTitle

Show the document title from the metadata instead of the file name in the title bar (/DisplayDocTitle; required by PDF/UA).

public bool DisplayDocTitle { get; set; }

Property Value

bool

FitWindow

Resize the document window to fit the first page (/FitWindow).

public bool FitWindow { get; set; }

Property Value

bool

HideMenubar

Hide the viewer's menu bar (/HideMenubar).

public bool HideMenubar { get; set; }

Property Value

bool

HideToolbar

Hide the viewer's tool bars (/HideToolbar).

public bool HideToolbar { get; set; }

Property Value

bool

HideWindowUI

Hide user interface elements such as scroll bars, leaving only the page contents (/HideWindowUI).

public bool HideWindowUI { get; set; }

Property Value

bool