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

    Parameters

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