Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfViewerPreferences

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Simple viewer preference entries discovered from the document catalog.

Inheritance

  • object
  • PdfViewerPreferences

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public bool? GetBoolean(string name) #

Gets a boolean viewer preference value by PDF preference name.

Parameters

name string required

Returns

bool?
public string? GetValue(string name) #

Gets a simple viewer preference value by PDF preference name.

Parameters

name string required

Returns

string?

Properties

public IReadOnlyDictionary<string, string> Values { get; } #

Simple viewer preference values keyed by PDF preference name.

public int Count { get; } #

Number of simple viewer preference entries read from the catalog.