Arma 3 Scripting

ctrlTextHeight

  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

Returns the text control's height. Supported control types:

Syntax

ctrlTextHeight control

Parameters:

Returns: Number

Examples

Example 1

_h = ctrlTextHeight _ctrl;

See also

ctrlFontHeight · ctrlTextWidth · ctrlSetText · ctrlType · Arma: GUI Configuration

Community notes

Nelis75733126

In Arma 3 v1.70, this command always returns 0 if the definition for width of the control ( inside .hpp or .cpp file ) is missing.