TXTextControl.TXTextControl.RTFSelText Property

This property works much like the standard SelText property. The SelStart and SelLength properties can be used to specify a text selection which is to be copied to a string or inserted from a string. The difference between SelText and RTFSelText is that with the SelText property, text is stored without formatting information in the ANSI format, whilst RTFSelText uses Rich Text Format to preserve all of the formatting attributes.

Syntax

TXTextControl.RTFSelText [= string]

Remarks

RTF (Rich Text Format) is one of the most common interchange formats for text documents. Most word processors available for Windows are able to read and write RTF files.

Data Types

String.

Limitations

Run time only.

See Also