Arcgis Pro Label Expression

651
1
10-29-2020 06:58 AM
AndrewIngall1
New Contributor III

Any one able to help with a label expression query.

I have three attributes which i need to be able to stack and centre justify.  I am able to stack them and they have a left justification but for the life of me whatever i try i can no get it to work.

Below is the code i have.

(+$feature.DD + TextFormatting.NewLine + $feature.Direction + TextFormatting.NewLine + $feature.Distance)

0 Kudos
1 Reply
Robert_LeClair
Esri Notable Contributor

Andrew - yes this can be done.  In the Label Class properties->Position under the Stack parameters, there's a Horizontal Alignment option you can set for Constrain Center.  This will center justify your stacked label.  See the image below.

0 Kudos