Clipboard::SetText

Clipboard::SetText
void SetText(const String&);
void SetText(const wchar_t* ptext, UPInt len = SF_MAX_UPINT);
Description

SetText saves plain text inside the clipboard and can be retrieved by GetText. OnTextStore callback is called to save data in system clipboard.

Parameters
Parameters 
Description 
const wchar_t* ptext 
Pointer to the wide character string. 
UPInt len = SF_MAX_UPINT 
Length of ptext in characters. This is an optional parameter, if this parameter is not specified then 'ptext' should be a null-terminated string. 
str 
String to be set.