DistanceConverter Class |
The DistanceConverter class converts types to and from the distance type.
System.ComponentModelTypeConverter
Tekla.Structures.DatatypeDistanceConverter
Tekla.Structures.DatatypeDistanceConverter
Namespace: Tekla.Structures.Datatype
Assembly: Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
The DistanceConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| DistanceConverter | Initializes a new instance of the DistanceConverter class |
| Name | Description | |
|---|---|---|
| CanConvertFrom |
Checks whether the conversion can be made from the source type to the distance type.
| |
| CanConvertTo |
Checks whether the conversion can be made from the distance type to the destination type.
| |
| ConvertFrom |
Converts an object from the given culture to the distance type.
| |
| ConvertTo |
Converts an object from the distance type to the given destination type.
|