PageMode

Initial UI hint that tells a viewer which side panel to show when the document opens (ISO 32000-1 §7.7.2 Table 28, /PageMode).

The "Use*" naming preserves the spec's PDF-name values verbatim.

Entries

Link copied to clipboard

No panel: page area only (default).

Link copied to clipboard

Show the bookmarks (outlines) panel.

Link copied to clipboard

Show the thumbnails panel.

Link copied to clipboard

Full-screen mode, no menu bar / window controls / panel.

Link copied to clipboard

Show the optional-content (layers) panel. Added in PDF 1.5.

Link copied to clipboard

Show the attachments panel. Added in PDF 1.6.

Link copied to clipboard

A /PageMode value we don't recognise.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): PageMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.