AnsweredAssumed Answered

How to Update Font And Color Of a Label in ArcMap Using ArcPy

Question asked by BEHSEINI on Oct 23, 2018
Latest reply on Oct 24, 2018 by BEHSEINI

I am adding a layer to map docyment through and stand alone ArcPy snippet like this

MXD = arcpy.mapping.MapDocument(r"C:\\arcgis\\ArcTutor\\AAA\\MXDs\\map.mxd")
df = arcpy.mapping.ListDataFrames(MXD)[0]
print('Step 3')
layer = arcpy.mapping.Layer("Primary")
layer.minScale = 10000
layer.showLabels = True
arcpy.mapping.AddLayer(df, layer, "AUTO_ARRANGE")

Can you please let me know how I can change the label font two 14 and color to red using ArcPy?

Outcomes