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

MText with BaseRIght attachement

1 REPLY 1
Reply
Message 1 of 2
pavlos.katsonis
193 Views, 1 Reply

MText with BaseRIght attachement

I'm trying to create an MText entity with BaseRight attachement, but the following code fails at the "Attachment = ..." command.
[code]
MText leaderText = new MText();
leaderText.Contents = formatedText;
leaderText.TextHeight = 10;
leaderText.Attachment = AttachmentPoint.BaseRight;
leaderText.Location = pickPoint.Add(textDisplacement);
[/code]
When I replace BaseRight with BottomRight it works. Does anyone know why the above code fails and how to create MText with Base... attachement?
1 REPLY 1
Message 2 of 2

Nevermind, I managed to place the text without using BaseRIght.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost