'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 C1.C1Preview.Unit value to convert (must be an absolute value).
- destUnitType
- The destination unit type (C1.C1Preview.UnitTypeEnum).
- destDpi
- The destination resolution (DPI; used if the destUnitType is C1.C1Preview.UnitTypeEnum.Pixel).
Return Value
A double representing the source value expressed in destUnitType units.