New answers tagged arcpy-mapping
If this existed then I think you would find it amongst the FieldInfo properties as you have surmised: Provides field info methods and properties for layer and table views. Since it is not there I think you should submit an ArcGIS Idea. I would target this for ArcGIS Pro rather then the earlier architecture of ArcGIS for Desktop.
The way you are changing font, color and size is by using Text Formatting tags: ArcGIS text formatting tags let you modify the formatting for a portion of text. This lets you create mixed-format text where, for example, one word in a sentence is underlined. Text formatting tags can be used almost anywhere text is placed on or around the map in ...
Unless your layer definitions are static enough that you can keep them also saved as layer files, then I think you are stuck with creating a MapDocument object in order to locate its layer definitions. If you are able to use a layer file instead of using a map file to get at the layer definitions then just use the specific Layer object instead of creating a ...
I was having a similar issue. When I switch the Parser on the label expression to JSCript the labels exported correctly.
To do what you describe will, I think, need you to code using ArcObjects instead of ArcPy (or arcpy.mapping) because you appear to be wanting to customize the ArcMap application. From Who is arcpy.mapping for? Why was it built?: Arcpy.mapping is not a replacement for ArcObjects but rather an alternative for the different scenarios it supports. ...
Top 50 recent answers are included