Create line style the text justification in not at the center

Create line style the text justification in not at the center

eileenl9N4WJ
Participant Participant
3,362 Views
5 Replies
Message 1 of 6

Create line style the text justification in not at the center

eileenl9N4WJ
Participant
Participant

eileenl9N4WJ_0-1635751977075.png

Hi, any one can help?

i am create line style the text justification set to middle center with single line text but output is not at center.

Thank you.

 

Eileen

0 Likes
Accepted solutions (1)
3,363 Views
5 Replies
Replies (5)
Message 2 of 6

Kent1Cooper
Consultant
Consultant
Accepted solution

Text justification in complex linetypes is always what is called "Left" in regular Text.  You need to use the Y-offset element in the linetype definition at negative 1/2 the Height.  You also need to use a Text Style that does not have a fixed height.  There is another refinement I could suggest, involving the X-offset element and the gap sizes, but first post the linetype definition as you have it so far.

Kent Cooper, AIA
0 Likes
Message 3 of 6

Kent1Cooper
Consultant
Consultant

@Kent1Cooper wrote:

....  There is another refinement I could suggest, involving the X-offset element and the gap sizes....


In case you're still interested, >here< is something about that suggested refinement.  [It also happens to be about a linetype with a  w  in it, though a lower-case rather than an upper-case one.]

Kent Cooper, AIA
0 Likes
Message 4 of 6

eileenl9N4WJ
Participant
Participant

Hi Kent1Cooper,

 

Thank you for the suggestion, the example of set the Text center you show to me I can't understand. So I try the following and I make it. 

1) Use standard text style instead of my own text style.

2) Use the existing *. lin file instead of create new one.

3) Only put text or symbol at the center of the line instead of line element.

4) Delete the existing line style name and recreate the same line style name instead of overwrite.

 

Eileen

 

0 Likes
Message 5 of 6

Kent1Cooper
Consultant
Consultant

@eileenl9N4WJ wrote:

.... the example of set the Text center you show to me I can't understand. ....


I don't know how to explain it in more detail than in the link in Message 3.  Post the linetype definition you have, and maybe we can see how to make it work the way you want.

Kent Cooper, AIA
0 Likes
Message 6 of 6

eileenl9N4WJ
Participant
Participant

Hi Kent1cooper,

I use the text replace the circle and double line, but this way is not flexible enough.

 

eileenl9N4WJ_0-1638403874646.png

 

0 Likes