Table of contents
Namespace: Com\Tecnick\Pdf\Page
Backing type: string
File: PageDisplayMode.php line 35
Backed enum for the PDF /PageMode name. The backing value of each case is the canonical name produced by Mode::getDisplay().
Tags
- since: 2026-07-17
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-page
Cases
UseNone
File: PageDisplayMode.php line 37
UseOutlines
File: PageDisplayMode.php line 39
UseThumbs
File: PageDisplayMode.php line 41
FullScreen
File: PageDisplayMode.php line 43
UseOC
File: PageDisplayMode.php line 45
UseAttachments
File: PageDisplayMode.php line 47
Methods
fromLoose()
File: PageDisplayMode.php line 58
public static fromLoose(string|self $value) : self
Accepts the canonical name (case-insensitively) or an enum instance (returned unchanged). Unknown values and the empty string fall back to UseNone, the PDF default for /PageMode.
Parameters
- $value : string|self: Display mode name or enum case.
Return values
self