Parameters
- value
- The value of length.
- unit
- The unit of length value.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.WrongUnitException | Thrown when the unit is not valid for this property. |
LengthProperty lengthProperty = new LengthProperty(42.0, Unit.Meter);