TX Text Control .NET for WPF

Copy Method

Method|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.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.");