PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview 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 with an absolute length value.
    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