'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 )
Parameters
- sourceDpi
- The current unit value's resolution (used if Units is UnitTypeEnum.Pixel).
- destUnitType
- The target UnitTypeEnum.
- destDpi
- The target resolution (used if destUnitType is UnitTypeEnum.Pixel).
Return Value
The value in destUnitType units.