Gets the number (one-based) of the first character in the line.

Syntax

public int Start { get; }
Public ReadOnly Property Start() As Integer

Examples

The following example uses the Start property to get the number (one-based) of the first character in the line.

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.