Lingo Dictionary > L-N > lineHeight() (function)

 

lineHeight() (function)

Syntax

member(whichCastMember).lineHeight(lineNumber)
lineHeight(member whichCastMember, lineNumber)

Description

Function; returns the height, in pixels, of a specific line in the specified field cast member.

Example

This statement determines the height, in pixels, of the first line in the field cast member Today's News and assigns the result to the variable headline:

headline = member("Today's News").lineHeight(1)