GetLineLength Method (WPFTextBox)

Class

WPFTextBox.

Action

Returns the number of characters in the specified line.

Syntax

C#
lineLength = textBox.GetLineLength(lineIndex)
VB
lineLength = textBox.GetLineLength(lineIndex)
Variable Description
lineLength Integer.
lineIndex The zero-based line index for which to return a character count. Integer.