Convert(Single,Single,UnitTypeEnum) Method
In This Topic
Converts a value from pixel unit of measurement to another.
Syntax
'Declaration
Public Overloads Shared Function Convert( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As UnitTypeEnum _
) As System.Single
public static System.float Convert(
System.float ,
System.float ,
UnitTypeEnum
)
Parameters
- value
- The value to convert in pixels.
- fromDpi
- The source dpi.
- to
- The target unit of measurement.
Return Value
converted to units.
See Also