Click or drag to resize
DfsAbstractItemBuilderSetAxisUnitConversion Method
Sets the unit conversion for the axis of the 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: 16.0.0.0 (11.1.1.1111)
Syntax
public void SetAxisUnitConversion(
	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