'Declaration Public Overloads Function ConvertUnit( _ ByVal source As Unit, _ ByVal destUnitType As UnitTypeEnum, _ ByVal destDpi As Single _ ) As Double
public double ConvertUnit( Unit source, UnitTypeEnum destUnitType, float destDpi )
Parameters
- source
- The source Unit value to convert (must be an absolute value).
- destUnitType
- The destination unit type (UnitTypeEnum).
- destDpi
- The destination resolution (DPI; used if the destUnitType is UnitTypeEnum.Pixel).
Return Value
A double representing the source value expressed in destUnitType units.