Start Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the number (one-based) of the first character in the line.
Syntax
public int Start { get; }Public ReadOnly Property Start As IntegerExamples
The following example examines the first line in a short document by using Line.Start.
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Line line = textControl.Lines[1];
textControl.InputPosition = new InputPosition(line.Start);
Console.WriteLine("Line is ready for use.");textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim line As Line = textControl.Lines(1)
textControl.InputPosition = New InputPosition(line.Start)
Console.WriteLine("Line is ready for use.")Limitations
Read only.