Page 1 of 1

Set the width of MText

Posted: 19 Jun 2012, 12:19
by gezaborbely
Hello

i am drawing an mtext on an empty image. if i see that the resulting image is wider than the maximum width that i need,
i have to recreate the mtext with a different width.
I noticed that there is a rectwidth property, but it doesn't really help me.
(in autocad i can set the rectwidth and the text is automatically divided in multiple lines)
What would be the solution?
Thanks!

Re: Set the width of MText

Posted: 19 Jun 2012, 14:44
by support
Hello.
Full set of entities on a layout defines its extents. If a drawing contains single MText entity on model then extents correspond to MText's borders (Box property). Please note, TsgCADImage.IsWithoutBorder and TsgCADImage.BorderSize can be used to set the border value for visualization.

Alexander.