TX Text Control .NET for WPF

Start Property

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

Description

Gets the first character position (one-based) of a text field.

Syntax

public int Start { get; }

Examples

The following example inserts a Word-compatible text field into a template by using TextField.Start.

TextField textField = new ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", new[] { "CustomerName" });
textControl.TextFields.Add(textField);

textControl.InputPosition = new InputPosition(textField.Start);
Console.WriteLine("Text Field is ready for use.");

Limitations

Read only.