Share

contentsRTF Method

Overload List

Method Description
AcDbMText::contentsRTF (AcString &) 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.
AcDbMText::contentsRTF () 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. The caller is responsible for freeing the memory used by the returned string (preferably by using acutDelString().

Was this information helpful?