Select to view content in your preferred language

ArcGIS Pro 2.7 Legend Color Customization

1985
4
04-26-2021 09:25 AM
Status: Implemented
Labels (1)
LoralynLClarkmainegovMaineDOT
Occasional Contributor

I would like to be able to customize a layer in the legend to match the text label to the symbology used. In ArcMap, I could do this by inserting a label like the one below in the Label section. 

<CLR Red= '145' Green= '232' Blue='255'>PPM 075 <ITA>(Not Committed)</ITA></CLR>

LoralynLClarkmainegovMaineDOT_0-1619453399930.png

In the legend this is how it would appear:

LoralynLClarkmainegovMaineDOT_1-1619453461750.png

If I use this in ArcGIS Pro 2.7, I get black lettering instead of the blue for this layer and can only remove the black by removing the tagged text also, the option to use italics is missing from the legend.

 

 

4 Comments
Robert_LeClair

This is already possible using ArcGIS Pro.  The formatting for the text formatting tags is slightly different in ArcGIS Pro compared to ArcMap.  With your provided text formatting tags from ArcMap, I modified the code syntax to the following:  

<CLR red= "145" green= "232" blue="255">PPM 075<ITA>(Not Committed)</ITA></CLR>

and my legend formatted properly.  The key was lower case for the colors and a " vs a single ' that ArcMap uses.  Hope this helps!

Robert_LeClair_0-1619534912917.png

 

LoralynLClarkmainegovMaineDOT
This is perfect! Thank you so much!
Robert_LeClair

You're welcome!  Happy mapping!

KoryKramer
Status changed to: Implemented

This is fixed in ArcGIS Pro 2.9.  See Ideas in ArcGIS Pro 2.9 for a number of other ideas you can expect to see when you update.