\PhpOffice\PhpWord\SimpleTypeZoom

Magnification Preset Values

Summary

Methods
Properties
Constants
values()
isValid()
validate()
No public properties found
NONE
FULL_PAGE
BEST_FIT
TEXT_FIT
No protected methods found
No protected properties found
N/A
getConstants()
$constCacheArray
N/A

Constants

NONE

NONE = 'none'

FULL_PAGE

FULL_PAGE = 'fullPage'

BEST_FIT

BEST_FIT = 'bestFit'

TEXT_FIT

TEXT_FIT = 'textFit'

Properties

$constCacheArray

$constCacheArray : 

Type

Methods

values()

values() : array

Returns all values for this enum

Returns

array

isValid()

isValid(string  $value) : boolean

Returns true the value is valid for this enum

Parameters

string $value

Returns

boolean —

true if value is valid

validate()

validate(string  $value) 

Validates that the value passed is a valid value

Parameters

string $value

Throws

\InvalidArgumentException

if the value passed is not valid for this enum

getConstants()

getConstants()