FlexReport for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document 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