Share

MText.ContentsRTF Property

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. The caller is responsible for freeing the memory used by the returned string (preferrably by using acutDelString().

Visual Basic

Public Property ContentsRTF() As string

C#

public string ContentsRTF;

Conditions

Read / Write

Links

MText Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?