Message 1 of 2
c# mtext block formatting issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am grabbing one mtext block from a .dwg and after replacing a bit of the mtext by setting the mtext.content equal to a string I then copy it with WblockCloneObjects() to a new .dwg.
I am having one issue where I have \t for tabs in the mtext replacement, but the new copy is adding a extra tab than what is in the mtext.contents.
I am having another issue where the colors of the mtext are replaced with whatever the block layer color is for the mtext. So if I have in one mtext a string partly red and partly blue, the new copy will only reflect the block layer's set color.
Thank you for any help and let me know if any more information is needed.