DisplayZoom

Backed enum for the named document zoom modes accepted by Tcpdf::setDisplayMode() (in addition to a numeric zoom factor).

Namespace: Com\Tecnick\Pdf

Backing type: string

File: DisplayZoom.php line 35

Backed enum for the named document zoom modes accepted by Tcpdf::setDisplayMode() (in addition to a numeric zoom factor).

Tags

Cases

FullPage

File: DisplayZoom.php line 38

FullWidth

File: DisplayZoom.php line 41

Real

File: DisplayZoom.php line 44

DefaultZoom

File: DisplayZoom.php line 47

Methods

fromLoose()

File: DisplayZoom.php line 57

public static fromLoose(string|self $value) : self

Accepts the canonical name or an enum instance (returned unchanged). Unknown values fall back to DefaultZoom, matching setDisplayMode().

Parameters

  • $value : string|self: Named zoom or enum case.

Return values

self