C++
int setContentsRTF( const ACHAR* RTFString );
Description
This method sets the contents of the AcDbMText object from the RTF-encoded text string pointed to by unnamed. RTF codes are translated to MText codes. Fonts, colors, tabs, and indents are preserved. Bullets and numbered lists are mapped to hanging paragraphs using the implied setting for tabs and indents.
Returns 0 if successful.
Parameters
Parameters | Description |
---|---|
RTFString | Input RTF-encoded string |