 <p>This <a href="http://www.cadtutor.net/forum/archive/index.php/t-20809.html" rel="nofollow noreferrer">Forum thread</a> includes a VB program to strip the control characters from the MText. The code indicates what should be done to strip each control character, so it should be straightforward to write something similar in C#.</p> <p>Additionally, the documentation of the format codes is available in the <a href="http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%202010%20User%20Documentation/index.html?url=WS1a9193826455f5ffa23ce210c4a30acaf-63b9.htm,topicNumber=d0e123454" rel="nofollow noreferrer">AutoCAD documentation</a>.</p>