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

    Parameters

    value
    The value of density 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 DensityProperty.
    DensityProperty densityProperty = new DensityProperty("42 kg/m3");
    See Also