API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

DoubleConverterConvertTo Method

Converts an object from the double datatype to the given destination type.

Namespace:  Tekla.Structures.Datatype
Assembly:  Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2023.0.1
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType


Type: System.ComponentModelITypeDescriptorContext
The context.
Type: System.GlobalizationCultureInfo
The target culture.
Type: SystemObject
The double datatype object to be converted.
Type: SystemType
The destination type.

Return Value

Type: Object
The given double datatype object converted to the new type.
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.