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