C++
ACDBCORE2D_PORT Acad::ErrorStatus contentsRTF( AcString & sContentsRTF ) const;
Description
Returns an RTF encoded string that is a translated version of the contents of the AcDbMText object.
MText codes are translated to RTF codes. Fonts, colors, tabs, and indents are preserved. The conversion uses 24 as the default point size. That is, text with no height override will have a point size of 24 and text with a height override will have a point size of the height override multiplied by 24.
Parameters
Parameters | Description |
---|---|
sContentsRTF | Output string that contains an RTF encoded string |