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

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

Parameters

value
The value to convert in from units.
from
The source unit of measurement.
toDpi

Return Value

value converted to pixels with specified dpi.
See Also

Reference

Unit Structure
Unit Members
Overload List