TX Text Control .NET for Windows Forms

Start Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the character position (one-based) of the target. The target's position is at the left edge of this character.

Syntax

public int Start { get; }

Examples

The following example creates a named destination for an internal document link by using DocumentTarget.Start.

DocumentTarget documentTarget = new("CustomerDetails");
textControl.DocumentTargets.Add(documentTarget);

textControl.InputPosition = new InputPosition(documentTarget.Start);
Console.WriteLine("Document Target is ready for use.");

Limitations

Read only.