TX Text Control .NET for Windows Forms

SelectWord Method

Method|Introduced in 25.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Server.dll from the private NuGet feed or Text Control Offline Packages

Description

Selects the word at the current text input position.

Syntax

public void SelectWord();

Examples

The following example selects the word at the current input position. The created object is then available to the surrounding document workflow.

textControl.SelectWord();
Console.WriteLine("Server Text Control is ready for use.");