Halo some, but not all, text in a label?

112
2
12-07-2021 10:07 AM
Labels (1)
rburke
by
Regular Contributor III

I've got a stacked label with multiple fields that I've been building in Arcade. Is there a way to add a halo to just some of my text, via tags or another means? Right now the whole thing is haloed, but I only want the top line to have that effect.

rburkebsrc_0-1638900426840.png

 

0 Kudos
2 Replies
JohannesLindner
MVP Regular Contributor

https://pro.arcgis.com/de/pro-app/latest/help/mapping/text/text-formatting-tags.htm 

Nothing in the tags, HTML doesn't work.

Your only options seems to be creating two label classes. But then they will be positioned independently from each other. You can force them into the format you want with a a bit of fiddling.

For points, it's easy: the haloed class on top, the other class on the bottom:

JohannesLindner_0-1638960997974.png

For polygons:

  • Settings for both classes
    • Position: Regular, Horizontal, "Place label at fixed position within polygon" (chose the same position)
    • Conflict Resolution: Unplaced labels -> Never remove
  • Settings for one class
    • Symbol -> Position -> Offset Y

JohannesLindner_1-1638961753021.png

 

You could also post an Idea to include HALO and _HALO label tags in ArcGIS Pro.


Have a great day!
Johannes
rburke
by
Regular Contributor III

That's a good idea to post as an idea - maybe I will! Thanks! I wound up abandoning the halo idea and went with simple boxes.

rburkebsrc_0-1638979287654.png

 

 

0 Kudos