Parameters
- unit
- The unit to convert to.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.WrongUnitException | Thrown when the unit is not valid for this property. |
Transform2DProperty<LengthProperty> position = new Transform2DProperty<LengthProperty>( new LengthProperty(20, Unit.Millimeter), new LengthProperty(-20.5, Unit.Millimeter) ); position.Convert(Unit.Meter);