Attempts to convert the current unit value to other unit of measurement.

Only absolute units can be converted. This method throws an exception if the conversion cannot be performed.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public double ConvertUnit(
	UnitTypeEnum destUnitType
)
Visual Basic
Public Function ConvertUnit ( _
	destUnitType As UnitTypeEnum _
) As Double

Parameters

destUnitType
Type: C1.C1Preview..::..UnitTypeEnum
The target UnitTypeEnum.

Return Value

The value in destUnitType units.

See Also