ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to get textstring of AcDbMText

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
1369 Views, 1 Reply

how to get textstring of AcDbMText

AcdbMText::text() return string that has formating symbols.  I want to get string like AcdbText::textstringconst().

I know a way to do this. AcdbMtext::explode(), but I only want to know the string, the explode method generate new entities(AcdbText) in the computer memory, and I have to delete them after getting text content. Is there a better way?

1 REPLY 1
Message 2 of 2
owenwengerd
in reply to: Anonymous

I'm not sure I understand what you're after, but AcDbMText::explodeFragments() can be used to enumerate individual text fragments.

--
Owen Wengerd
ManuSoft

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report