ComponentOne FlexReport for WinForms
Convert(Double,Double,UnitTypeEnum) Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Unit Structure > Convert Method : Convert(Double,Double,UnitTypeEnum) Method
The value to convert in pixels.
The source dpi.
The target unit of measurement.
Converts a value from pixel unit of measurement to another.
Syntax
'Declaration
 
Public Overloads Shared Function Convert( _
   ByVal value As System.Double, _
   ByVal fromDpi As System.Double, _
   ByVal to As UnitTypeEnum _
) As System.Double
public static System.double Convert( 
   System.double value,
   System.double fromDpi,
   UnitTypeEnum to
)

Parameters

value
The value to convert in pixels.
fromDpi
The source dpi.
to
The target unit of measurement.

Return Value

value converted to to units.
See Also

Reference

Unit Structure
Unit Members
Overload List