CopyRTF

Description

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.

Applies to

DataWindow controls, DataStore objects, and RichTextEdit controls

Syntax

rtename.CopyRTF ( { selected {, band } } )

Returns

String. Returns the selected text as a string.

CopyRTF returns an empty string ("") if: