autoSize

Text Properties for general information about the Text component.

Enables the Text component to automatically adjust its height to display all the contents.

Type

Boolean

true: enable automatic height adjustment
false: disable automatic height adjustment

Example

Text1.autoSize = true;

Either syntax below can be used in component script:

autoSize            // unqualified
Text1.autoSize      // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.