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

    Parameters

    value
    The value of length density.
    unit
    The unit of length density value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new LengthDensityProperty .
    LengthDensityProperty lengthDensityProperty = new LengthDensityProperty(42.0, Unit.KilogramPerMeter);
    See Also