Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / LengthProperty Class / LengthProperty Constructor / LengthProperty Constructor(Double,Double,Unit)
The lower boundary of length interval.
The higher boundary of length interval.
The unit of length's lowerValue and higherValue.
Example
In This Topic
    LengthProperty Constructor(Double,Double,Unit)
    In This Topic
    Creates a new instance of the LengthProperty with the specified interval value and unit.
    Syntax
    public LengthProperty( 
       double lowerValue,
       double higherValue,
       Unit unit
    )

    Parameters

    lowerValue
    The lower boundary of length interval.
    higherValue
    The higher boundary of length interval.
    unit
    The unit of length's lowerValue and higherValue.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new LengthProperty with an interval value.
    LengthProperty lengthProperty = new LengthProperty(23, 42.0, Unit.Meter);
    See Also