FlexReport for .NET | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.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