Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1StyleLength Structure / C1StyleLength Constructor
The amount expressed in unit.
The unit of the length.

In This Topic
    C1StyleLength Constructor
    In This Topic
    Initializes a new instance of the C1StyleLength struct.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal value As Double, _
       Optional ByVal unit As C1StyleLengthUnit _
    )
    public C1StyleLength( 
       double value,
       C1StyleLengthUnit unit
    )

    Parameters

    value
    The amount expressed in unit.
    unit
    The unit of the length.
    See Also