Converts an absolute
Unit value to the specified measurement units.
'Declaration
Public Overloads Function ConvertUnit( _
ByVal As Unit, _
ByVal As UnitTypeEnum, _
ByVal As System.Single _
) As System.Double
public System.double ConvertUnit(
Unit ,
UnitTypeEnum ,
System.float
)
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 is UnitTypeEnum.Pixel).
Return Value
A double representing the value expressed in units.