Lingo Dictionary > L-N > lineCount |  |

lineCount

Syntax

    member(whichCastMember).lineCount
    the lineCount of member whichCastMember

Description

Cast member property; indicates the number of lines that appear in the field cast member on the Stage according to the way the string wraps, not the number of carriage returns in the string.

Example

This statement determines how many lines the field cast member Today's News has when it appears on the Stage and assigns the value to the variable `numberOfLines`:

    numberOfLines = member("Today's News").lineCount