Start Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the index (one-based) of the first character which belongs to the subtextpart.
Syntax
public int Start { get; }Public ReadOnly Property Start As IntegerExamples
The following example marks the selected customer name as a named document region by using SubTextPart.Start.
textControl.Text = "Customer: Contoso Ltd.";
textControl.Select(10, 12);
SubTextPart subTextPart = new("CustomerName", 10);
textControl.SubTextParts.Add(subTextPart);
textControl.InputPosition = new InputPosition(subTextPart.Start);
Console.WriteLine("Sub Text Part is ready for use.");textControl.Text = "Customer: Contoso Ltd."
textControl.Select(10, 12)
Dim subTextPart As New SubTextPart("CustomerName", 10)
textControl.SubTextParts.Add(subTextPart)
textControl.InputPosition = New InputPosition(subTextPart.Start)
Console.WriteLine("Sub Text Part is ready for use.")Limitations
Read only.