LineLength()

Syntax:

textObject.LineLength( LineIndex )

Return:

The number of characters in 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 number of characters contained on a specified line. If the line specified in LineIndex contained 5 characters, the Return Value will be 6, if the line had 13 characters, the Return Value will be 14.

image\Script_Button.jpgExamples