Its been a while since I've use AutoCad.
This particular version is 2019.
When I write the code using c# to insert MText into a drawing the text height goes to the default of 0.2
I'm guessing I have to check a box on/off somewhere but can't for the life of me find it.
So I'm asking you guys, Is it a code thing?
Is it a user preferences thing?
Below is the code I used as well as the results.
Any ideas.
Thanks
Solved! Go to Solution.
Solved by norman.yuan. Go to Solution.
MText.Height means the whole height of the MText object, which may have multiple lines of text (Also the property "ActualHeight"). I suppose what you want to change is MText.TextHeight property, which defaults to the text height defined in the applied TextStyle (0.2, in your case).
Norman Yuan
Can't find what you're looking for? Ask the community or share your knowledge.