Adobe InDesign CS5.5 Server (7.5) Object Model JS: UnitValue

InDesign Server CS5.5

Class

UnitValue

 

Represents a measurement as a combination of values and unit.

Note that this object is not available in all applications.

QuickLinks

as, convert

Properties

PropertyTypeAccessDescription
baseUnitUnitValue r/wThe base unit.
typestring readonlyThe unit name.
valuenumber r/wThe numeric value.

Class

PropertyTypeAccessDescription
baseUnitUnitValue r/wThe base unit for all conversions.

Methods

Instances

UnitValue as (unitName: string)
Returns this instance as a different unit.

ParameterTypeDescription
unitNamestringThe unit name.

any convert (unitName: string)
Converts this instance to a different unit.

ParameterTypeDescription
unitNamestringThe unit name.

Element of

UnitValue.baseUnit

UnitValue.baseUnit

Return

UnitValue UnitValue.as (unitName: string)

Jongware, 28-Apr-2012 v3.0.3iContents :: Index