Search
Measure.convertTo Method
See Also
 






Converts the amount represented by the current object to the specified unit.

Namespace: com.mindfusion.spreadsheet
Package: com.mindfusion.spreadsheet

 Syntax

Java  Copy Code

public Measure convertTo (
    MeasureUnit targetUnit,
    Object context
)

 Parameters

targetUnit

A MeasureUnit object representing the unit to convert to.

context

Used when converting between logical and device units; otherwise this parameter is ignored.

 Return Value

A new Measure object that represents the original amount in the specified unit.

 See Also