Attempts to convert the current unit value to other unit of measurement.
Namespace:
C1.C1PreviewOnly absolute units can be converted. This method throws an exception if the conversion cannot be performed.
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.