Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / ViscosityProperty Class / ViscosityProperty Constructor / ViscosityProperty Constructor(Double,Unit)
The value of viscosity.
The unit of viscosity value.
Example
In This Topic
    ViscosityProperty Constructor(Double,Unit)
    In This Topic
    Creates a new instance of the ViscosityProperty with the specified value and unit.
    Syntax
    public ViscosityProperty( 
       double value,
       Unit unit
    )

    Parameters

    value
    The value of viscosity.
    unit
    The unit of viscosity value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new ViscosityProperty .
    ViscosityProperty viscosityProperty = new ViscosityProperty(42.0, Unit.PascalSecond);
    See Also