GetLineIndexFromCharacterIndex Method (WPFTextBox)
Class
WPFTextBox
class
Action
Returns the zero-based line index for the line that contains the specified character index.
Syntax
iLineIndexFromCharacterIndex
=
textBox
.
GetLineIndexFromCharacterIndex
(
charIndex
)
Variable
Description
iLineIndexFromCharacterIndex
INTEGER.
charIndex
The zero-based character index for which to retrieve the associated line index. INTEGER.