4

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?

2
  • there is nothing in the label class that would indicate such functionality. Based upon the help files help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//… this is it.
    – user681
    Commented Apr 8, 2011 at 21:46
  • 2
    This would make a good ArcGIS Idea if you have time to write it up
    – PolyGeo
    Commented Jul 25, 2012 at 4:45

1 Answer 1

5

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.

2
  • 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
    Commented Apr 15, 2011 at 14:32
  • 2
    For posterity - hopefully you created a new layer with the same data source, rather than having 2 point files to maintain?
    – brichins
    Commented Mar 9, 2013 at 0:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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