Returns the selected text, pictures, and input fields in a RichTextEdit control or RichText DataWindow as a string with rich text formatting. Bitmaps and input fields are included in the string.
DataWindow controls, DataStore objects, and RichTextEdit controls
rtename.CopyRTF ( { selected {, band } } )
String. Returns the selected text as a string.
CopyRTF returns an empty string ("") if:
There is no selection and selected is true
An error occurs