Message 1 of 5
Not applicable
12-12-2017
01:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I tried to create Mtext with mixed alignment, but up to now only find the possibility to align the whole text block by following code:
Set InsrtTXT = AcadApp.ActiveDocument.ModelSpace.AddMText(InsrtPnt, 50, TXTString) InsrtTXT.AttachmentPoint = acAttachmentPointBottomRight
But I want the text like this:
Line 1: Profile-No. 12345_1_Ä2
Line 2: RWXXXX
One possibility of course would be to split the text into smaller peaces, but I don't want to do this. Especially because the MText Editor within Autocad allows me exactly to do what I want.
Thanks in advance.
Lars
Solved! Go to Solution.