LineIndex()

Syntax:

textObject.LineIndex( LineIndex )

Return:

The index position of the first character of the line specified in LineIndex.

Parameters:

LineIndex - The index position of the line. Lines are zero-based indexed. LineIndex must be an integer. This parameter is required.

Remarks:

This function will return the index position of the first character of the line specified in LineIndex. The character index position is also zero-based indexed i.e. the first character in the Text object is index position 0, the second character index position 1, and so on.

image\Script_Button.jpgExamples