GetLineCount()

For a Text object named myText, use the following syntax:

var numOfLines = myText.GetLineCount()

Close