TX Text Control .NET for Windows Forms Documentation

TextControl.Paste Method

Replaces the current selection in the Text Control with the contents of the Clipboard.

Introduced: 15.0.

Syntax

[C#] public void Paste(); public void Paste(ClipboardFormat format);
[Visual Basic] Public Sub Paste() Public Sub Paste(ByVal format As ClipboardFormat)
MemberDescription
format

Specifies the format to paste. It must be one of the ClipboardFormat values contained in the array returned through the TextControl.GetClipboardFormats method. This parameter can be used to change the default behaviour, if the clipboard contains the data in more than one format. By default, TXTextControl inserts data from the clipboard in the following order: textframe, formatted image, formatted text (TXTextControl format), formatted text (RTF format), formatted text (HTML format), plain text, image.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now