Gets the line's text.

Syntax

public string Text { get; }
Public ReadOnly Property Text() As String

Examples

The following example uses the Text property to get the line's text.

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); 
}
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) 
Next

Limitations

Read only.