Making Colorful Labels in ArcGIS

Today I will describe how to make cute colorful labels in ArcGIS 10. You can always color your shapes but how do you color your labels on your map? follow me.

This tips will allow you to make labels over map like this.


1. Open your feature properties and select ‘labels’ tab.

2. Hit ‘Expression’ button. You’ll something like this,


In the expression section we will write few code. The code here is

“<CLR blue=’255′>” & [Label] &”</CLR>”& vbNewLine & “Shape Index – ” &”<CLR red=’255′ >” & [Shape_index] & “</CLR>”

to verify if it is ok click ‘verify’

VIOLA!
ArcGIS 10 help menu says,

Fields are enclosed in square brackets [ ] irrespective of the data type of the layer’s data source.  Field values are automatically cast to text strings; therefore, if you wish to use a numeric value in an arithmetic operation you will need to cast it back to a numeric data type.

The expression is limited to a single line of code, unless you check the Advanced box. Checking the Advanced box allows you to enter a function containing programming logic and spanning multiple lines of code.

You can always try these codes and make something fasionable !

Font:

Bold:

Italic:

Underline:

All caps:

Small caps:

Superscript

Subscript:

Character spacing (0%=regular):

Character width (100%=regular):

Word spacing (100%=regular):

Leading (0 pts=regular):

Un-Bold:

Un-Italic:

Un-Underline:

Un-Superscript:

Un-Subscript:

For more please hit the ‘help’ button in the expression window.

Sources:  About building label expressions

1 Comment

  1. nice Sunbeam, you ‘re genius, regards. 3dbu

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2019 ClubGIS

Theme by Anders NorénUp ↑

This work is licensed under Creative Common