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
421232206
1305 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?

Technology change world! Coding change technology! We coders are coding!
1 REPLY 1
Message 2 of 2
owenwengerd
in reply to: 421232206

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  

Autodesk Design & Make Report

”Boost