| C1.C1Report.4 Assembly > C1.C1Preview Namespace > Unit Structure > ConvertUnit Method : ConvertUnit(Single,UnitTypeEnum,Single) Method |
Only absolute units can be converted. This method throws an exception if the conversion cannot be performed.
'Declaration Public Overloads Function ConvertUnit( _ ByVal sourceDpi As System.Single, _ ByVal destUnitType As UnitTypeEnum, _ ByVal destDpi As System.Single _ ) As System.Double
public System.double ConvertUnit( System.float sourceDpi, UnitTypeEnum destUnitType, System.float destDpi )