• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Map 3D

    Reply
    Active Contributor
    tmblackflag
    Posts: 42
    Registered: 07-20-2011

    Line break in text label doesn't center 2nd line like it does first

    112 Views, 4 Replies
    02-22-2012 08:41 AM

    Hello,

     

    I have an FDO layer which I am styling like so:


    Concat ( FDO_LAYER1,  Concat ( '\n',  FDO_LAYER2  )   )

     

    This layer is styled so that all text is centered. In this case, FDO_LAYER2 is having it's text left aligned. I'm pretty sure this is due to the '\n' method I am using for a new line. Is there something else I can use to break the line and maintain the center styling?

     

    Using a second point for FDO_LAYER2 is not an option. Thanks.

    Mentor
    Posts: 227
    Registered: 03-24-2004

    Re: Line break in text label doesn't center 2nd line like it does first

    02-22-2012 09:25 AM in reply to: tmblackflag

    will this work ?  select plain test, text centering, and fixed location for the style

     

    Concat ( FDO_LAYER1, '\n',  FDO_LAYER2  )  

    Active Contributor
    tmblackflag
    Posts: 42
    Registered: 07-20-2011

    Re: Line break in text label doesn't center 2nd line like it does first

    02-22-2012 09:28 AM in reply to: parkr4st

    Map 2010 won't let me enter more than 2 parameters into a concat so I had to use the concat inside another one.

    Mentor
    Posts: 227
    Registered: 03-24-2004

    Re: Line break in text label doesn't center 2nd line like it does first

    02-22-2012 10:48 AM in reply to: tmblackflag

     ( ) aroundFDO_LAYER2

     

    Concat ( FDO_LAYER1,  Concat ( '\n',  ( FDO_LAYER2)  )   )

    Active Contributor
    tmblackflag
    Posts: 42
    Registered: 07-20-2011

    Re: Line break in text label doesn't center 2nd line like it does first

    02-22-2012 11:25 AM in reply to: parkr4st

    Not working either. Second line is still left-aligned instead of center-align styled  I have set.

     

    i know this works properly in Map 2012 but we can't upgrade yet!