\PhpOffice\PhpWord\SimpleTypeTextAlignment

Magnification Preset Values

Summary

Methods
Properties
Constants
values()
isValid()
validate()
No public properties found
TOP
CENTER
BASELINE
BOTTOM
AUTO
No protected methods found
No protected properties found
N/A
getConstants()
$constCacheArray
N/A

Constants

TOP

TOP = 'top'

CENTER

CENTER = 'center'

BASELINE

BASELINE = 'baseline'

BOTTOM

BOTTOM = 'bottom'

AUTO

AUTO = 'auto'

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()