void SetTextAndStyledText(const wchar_t* ptext, UPInt len, class Text::StyledText*);
SetTextAndStyledText saves both plain and rich text inside the clipboard. OnTextStore callback will be called to save data in system clipboard (but only for plain text; however full source customers can use pStyledText member to retrieve full rich text information). The method deletes previously stored texts and stores the new ones.
Parameters |
Description |
const wchar_t* ptext |
Pointer to the wide character string which is to be stored. |
UPInt len |
Number of characters in the string. |
pstyledText |
Pointer to the rich text string to be set to the clipboard. |