TX Text Control ActiveX

RTFSelText Property

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, while RTFSelText uses Rich Text Format to preserve all of the formatting attributes.

Syntax

TXTextControl.RTFSelText [= string]

Data Types

String.

Limitations

Run time only.

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.

See Also