setWidthMode

[ Function ]

public setWidthMode(newValue: TcHmi.SizeMode | null): void;

This function sets a new value for the WidthMode attribute.

Parameter

Name

Type

Description

newValue

TcHmi.SizeMode, 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: getWidthMode

Origin: TcHmiControl

Note: Available since version 1.8