setTextHorizontalAlignment
[ Function ]
public setTextHorizontalAlignment(newValue: TcHmi.HorizontalAlignment | null): void;
This function sets a new value for the TextHorizontalAlignment attribute.
Parameter
Name | Type | Description |
---|---|---|
newValue | 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: getTextHorizontalAlignment
Origin: TcHmiTextblock
Available from 1.8 |