GetCharacterIndexFromLineIndex Method (WPFTextBox)

Class

WPFTextBox class

Action

Returns the zero-based character index for the first character in the specified line.

Syntax

iCharacterIndexFromLineIndex = textBox.GetCharacterIndexFromLineIndex(lineIndex)
Variable Description
iCharacterIndexFromLineIndex INTEGER.
lineIndex The zero-based index of the line to retrieve the initial character index for. INTEGER.