Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently am writing a python script and using a lot of the arcpy mapping module functionality. I have been using the LabelClass of the arcpy mapping module to automate the display of labels with my ptyhon script.

Is there a way to set a mask (halo) for labels with ArcPy?

share|improve this question
there is nothing in the label class that would indicate such functionality. Based upon the help files… this is it. – Dan Patterson Apr 8 '11 at 21:46
This would make a good ArcGIS Idea if you have time to write it up – PolyGeo Jul 25 '12 at 4:45
up vote 5 down vote accepted

This is not possible via what is exposed to Python.

However, you can author a layer file and import it with the labels already defined for your workflow.

share|improve this answer
Unfortunately no, because my labels are constantly changing throughout the python script. I was thinking about making two point files and labelling twice. A bold thick white label and then place on top a black label to create a halo. – geoid Apr 15 '11 at 14:32
For posterity - hopefully you created a new layer with the same data source, rather than having 2 point files to maintain? – brichins Mar 9 '13 at 0:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.