FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / Unit Structure / Convert Method / Convert(UnitTypeEnum) Method
The target unit of measurement.

In This Topic
    Convert(UnitTypeEnum) Method
    In This Topic
    Converts value of this Unit structure to value in specified units of measurement.
    Syntax
    'Declaration
     
    Public Overloads Function Convert( _
       ByVal to As UnitTypeEnum _
    ) As Double
    public double Convert( 
       UnitTypeEnum to
    )

    Parameters

    to
    The target unit of measurement.

    Return Value

    Returns the value in to units.
    See Also