'Declaration Public Overloads Function ConvertUnit( _ ByVal sourceDpi As Single, _ ByVal destUnitType As UnitTypeEnum, _ ByVal destDpi As Single _ ) As Double
public double ConvertUnit( float sourceDpi, UnitTypeEnum destUnitType, float destDpi )
Parameters
- sourceDpi
- The current unit value's resolution (used if Unit.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.