textHeightSum | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: button, integer, field, card Property: formattedWidth, textHeight, formattedHeight, pixels, pageHeights Command: group Object: field, button Glossary: object, property, return Control Structure: function | ||||||
Description | Use the textHeightSum function to determine how much vertical space a field's or button's text requires. This function exists for compatibility with imported SuperCard projects. You can use the formattedHeight property to find the height of the text in a field or button. If the object is a button or field, the textHeightSum returns the number of vertical pixels needed to display all the text at the field's current width. If the object is a card or group, the textHeightSum returns the number of vertical pixels needed to display all the objects in the card or group. | ||||||
Tags | ui |