Limitations
Read only.
Gets the number of characters in the line including the break character.
public int Length { get; }Public ReadOnly Property Length() As IntegerThe following example uses the Length property to get the number of characters in the line including the break character.
textControl1.Text = "Line 1\nLine 2\nLine 3"; 
foreach (TXTextControl.Line line in textControl1.Lines) 
{ 
    Console.WriteLine("Line #" + line.Number.ToString() + " starts at: " 
    + line.Start.ToString() + ". Text: " + line.Text 
    + "number of characters in the line" + line.Length.ToString());
}TextControl1.Text = "Line 1" + vbCrLf + "Line 2" + vbCrLf + "Line 3" 
For Each line As TXTextControl.Line In TextControl1.Lines
    Console.WriteLine("Line #" + line.Number.ToString() + _
    "starts at: " + line.Start.ToString() + ". Text: " + line.Text + _
    "number of characters in the line" + line.Length.ToString())
NextRead only.