Set the width of MText

If you have any comments or questions about our developing tools, please do not hesitate to contact us at this forum

Moderators: admin, SDS, support

Set the width of MText

Postby gezaborbely » 19 Jun 2012, 09:19

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!
gezaborbely
 
Posts: 2
Joined: 19 Jun 2012, 09:11

Re: Set the width of MText

Postby support » 19 Jun 2012, 11:44

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.
Please post questions to the forum or write to support@cadsofttools.com
support
 
Posts: 2226
Joined: 30 Mar 2005, 08:36
Location: Russia


Return to CADImportVCL + DXFExportVCL

Who is online

Users browsing this forum: No registered users and 1 guest