Core JavaScriptExtendScript only
Object

UnitValue

Represents a measurement as a combination of values and unit.

Properties

NameType AccessDescription
static UnitValue read/write The base unit for all conversions.
UnitValue read/write The base unit.
String readonly The unit name.
Number read/write The numeric value.

Methods

UnitValue

Returns this instance as a different unit.

unitName String The unit name.
→ Varies

Converts this instance to a different unit.

unitName String The unit name.

Object of 2

Properties elsewhere that hold a UnitValue.

Return 1

Methods that return a UnitValue.