Mtext width on the screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have some Mtexts and lines below them,
some of the Mtext is 1 line, some of them in 2 lines,
but the line below them is extended to much.
im trying to "trim" the line below, to fit to the Mtext above it.
the Mtext loacation on the right is always in the same place,
so i will take the width of the Mtext and change only the line length.
i have all the elements objects,
i tryed to use assoc 42 but didnt know how to calculate that.
for example,
for 2 lines Mtext - ASSOC (42 . 0.0787402) and my actual Mtext on screen is 10.1 units. (for text hight 1)
for 1 line Mtext - ASSOC (42 . 0.0309128)
both of them has same hight, style and all, just a different string, and the fact that they split to 1 and 2 lines
does anyone know how to get that width? length on screen?