EdGetLineLenΒΆ

EdGetLineLen retrieves the length of a line in an editor.

nLineLen = EdGetLineLen(hEdit)
nLineLen = EdGetLineLen(hEdit, nCharIndex)

Return Value

nLineLen is the length of a line specified by nCharIndex.

Parameters

hEdit

Identifies the editor.

nCharIndex

nCharIndex specifies the character index of a character in the line whose length is to be retrieved. If nCharIndex is not used, the length of the current line is returned.

id-341645