Lingo Dictionary > L-N > linePosToLocV() |
![]() ![]() ![]() |
linePosToLocV()
Syntax
member(
whichCastMember
).linePosToLocV(
lineNumber
)
linePosToLocV(member
whichCastMember
,
lineNumber
)
Description
Function; returns a specific line's distance, in pixels, from the top edge of the field cast member.
Example
This statement measures the distance, in pixels, from the second line of the field cast member Today's News to the top of the field cast member and assigns the result to the variable startOfString
:
startOfString = member("Today's News").linePosToLocV(2)
![]() ![]() ![]() |