Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 383

[v8i VBA] Set linespacing of textnodes

$
0
0

Is it possible to set the linespacing of textnodes?

I have existing textnodes with different text-heights each line and different linespacings. Now I want to apply a specific textstyle to each line depending on its text height (this is working) and after that I want to set linespacing "0" and type "Exact" for the whole textnode (this is not working).

As linespacing is a property of textstyles one may think that with applying the new textstyle to the textline of the node the linespacing would change too. But unfortunately thats not the case.

I've even tried to drop whole textnode and create a new one based on old ones textheights. That worked a little bit better. But besides problems with justifications there was something strange happening. Although linespacing was "0 / Exact" the linespacing was like in the old node (see attached images). I had to manually double click at the node as if I wanted to edit it and after that the lines in the node were rearranged.....?!

Maybe someone could please help me?


Viewing all articles
Browse latest Browse all 383


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>