Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / Unit Structure / Unit Constructor / Unit Constructor(Double,UnitTypeEnum)
The unit value.
The unit of measurement.

In This Topic
    Unit Constructor(Double,UnitTypeEnum)
    In This Topic
    Initializes a new instance of the Unit structure.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal value As Double, _
       ByVal unitType As UnitTypeEnum _
    )
    public Unit( 
       double value,
       UnitTypeEnum unitType
    )

    Parameters

    value
    The unit value.
    unitType
    The unit of measurement.
    See Also