Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / ViscosityProperty Class / ViscosityProperty Constructor / ViscosityProperty Constructor(String)
The value of viscosity as a string.
Example
In This Topic
    ViscosityProperty Constructor(String)
    In This Topic
    Creates a new instance of the ViscosityProperty from the specified string value.
    Syntax
    public ViscosityProperty( 
       string value
    )

    Parameters

    value
    The value of viscosity as a string.
    Exceptions
    ExceptionDescription
    Thrown when the specified unit is not valid for this property.
    Example
    The following example shows how to create a new ViscosityProperty .
    ViscosityProperty viscosityProperty = new ViscosityProperty("42 Pa.sec");
    See Also