Profile Picture

NLineShape text label bounds

Posted By Steele Arbeeny 14 Years Ago
Author
Message
Steele Arbeeny
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 1, Visits: 1

I am using NLineShape to connect 2 shapes that will later be laid out using NSpringLayout.

I would like to place a text label oriented with the NLineShape. However if the text is longer than the line it extends past the endpoints of the line. Is there a way to either get the text to clip or wrap to the extents of the NLineShape ? The default NLogicalLineLabel does not contain a Mode property, and If I use a NBoundsLabel, the text is not oriented with the NLineShape. I dont think I can clip the text myself becasue I dont know the length of the line becasue it is set by the layout algorithm.

Is there any way to do this ?

Thanks in advance...


Steele






Similar Topics


Reading This Topic