text()不行么
C++
ACHAR* text() const;
Description
text() returns an allocated pointer to MText contents with formatting removed. The caller is responsible for freeing returned pointer.
Links
AcDbMText Class
Use Instead
ACDBCORE2D_PORT Acad::ErrorStatus text(AcString & sText) const;