How do I insert tag colors in Label Expression ?

3537
3
Jump to solution
03-19-2020 09:09 AM
PROBERT68
Frequent Contributor

I have a troule writing a tag code to display color in red in the Label Expreesion.  It keeps showing blank

What might go wrong here ?

Here is the code :

"<CLR red='255'>&  [ID] &  "</CLR>" +  "- "  +  [NAME]

What I need is showing numbers in red and street name in black

Example :

300 -  Rancho Road 

Thanks

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

are you going through this page?

Text formatting tags—ArcGIS Pro | Documentation 

there are some examples

"<CLR red = '255'>" + "Text" + "</CLR>"

use python or arcade

View solution in original post

0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

are you going through this page?

Text formatting tags—ArcGIS Pro | Documentation 

there are some examples

"<CLR red = '255'>" + "Text" + "</CLR>"

use python or arcade

0 Kudos
PROBERT68
Frequent Contributor

Will that work in ArcGIS Deskop ?

0 Kudos
PROBERT68
Frequent Contributor

ahhhh  it worked  had to re-read carefully and found the problem.   Now it is fixed 

Take care and Be safe !