TX Text Control .NET for Windows Forms

Copy Method

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

Description

Copies the current selection in the Text Control to the Clipboard.

Syntax

public void Copy();

Examples

The following example creates a copy of the text control. The created object is then available to the surrounding document workflow.

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