Retrieves an RTF string from the clipboard (the content of the clipboard is in RTF format).
Remarks:
// Retrieves the content of the clipboard in RTF format
sRTF is string = ClipboardRTF()
IF sRTF = "" THEN
Error()
ELSE
// Pastes the RTF text into the EDT_RTF control
EDT_RTF = sRTF
END
Syntax
<Result> = ClipboardRTF()
<Result>: Character string
- Character string in RTF. The returned character string can be assigned to an RTF control.
- Empty string ("") if an error occurred.