Arcgis Pro Label Expression

38
1
a month ago
Highlighted
New Contributor II

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)

Reply
0 Kudos
1 Reply
Highlighted
Esri Frequent 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.

Reply
0 Kudos