Lingo Dictionary > L-N > lineHeight (cast member property)

 

lineHeight (cast member property)

Syntax

member(whichCastMember).lineHeight
the lineHeight of member whichCastMember

Description

Cast member property; determines the line spacing used to display the specified field cast member. The parameter whichCastMember can be either a cast member name or number.

Setting the lineHeight member property temporarily overrides the system's setting until the movie closes. To use the desired line spacing throughout a movie, set the lineHeight member property in an on prepareMovie handler.

This property can be tested and set.

Example

This statement sets the variable oldHeight to the current lineHeight setting for the field cast member Rokujo Speaks:

oldHeight = member("Rokujo Speaks").lineHeight

See also

alignment, font, fontSize, fontStyle, text