Click or drag to resize

DfsAbstractItemBuilderSetUnitConversion Method

Sets the unit conversion for item.

Optional. The default for an item is that no conversion is performed.

If it's set to anything else than no conversion, automatic conversion is performed.

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public void SetUnitConversion(
	UnitConversionType convType,
	eumUnit unit
)

Parameters

convType
Type: DHI.Generic.MikeZero.DFSUnitConversionType
Conversion type: F_NO_CONVERSION, F_UBG_CONVERSION and F_FREE_CONVERSION. In case of either F_NO_CONVERSION or F_UBG_CONVERSION nUnit is ignored
unit
Type: eumUnit
Desired unit to convert to
See Also