PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / Unit Structure / Implicit Type Conversion Operator / Implicit Type Conversion(Double,Unit) Operator
The unit value to convert.

In This Topic
    Implicit Type Conversion(Double,Unit) Operator
    In This Topic
    Returns the absolute value of a Unit expressed in UnitTypeEnum.Default units.

    Throws exception if the operation cannot be performed.

    Syntax
    'Declaration
     
    Overloads Public Operator Widening CType( _
       ByVal value As Unit _
    ) As Double
    public double operator implicit( 
       Unit value
    )

    Parameters

    value
    The unit value to convert.

    Return Value

    The absolute value.
    See Also