ImageEn, unit iexRichEdit

TIERichEdit.RTFText

TIERichEdit.RTFText


Declaration

property RTFText: String;


Description

Return the content of the control with embedded RTF formatting.

Note: To insert RTF text without replacing existing content, use SelRTFText


Example

// Set rich text in Editor
IERichEdit1.RTFText := #123'\rtf1\ansi\ansicpg1252\deff0'#123'\fonttbl'#123'\f0\fnil\fcharset0 Tahoma;'#125#125'\viewkind4\uc1\pard\lang1033\b\f0\fs24 ImageEn!\b0\par'#125;