setTopUnit

[ Function ]

public setTopUnit(newValue: TcHmi.DimensionUnit | null): void;

This function sets a new value for the TopUnit attribute.

Parameter

Name

Type

Description

newValue

TcHmi.DimensionUnit, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

See also

Attribute getter: getTopUnit

Origin: TcHmiControl

setTopUnit 1:

Available from 1.8