AnsweredAssumed Answered

Need to get to the Layout Legend objects, such as swatches and label properties.

Question asked by mparedesesriuk-esridist Employee on Jan 13, 2015
Latest reply on Jan 14, 2015 by dblanchardesri-ca-esridist

Greetings List.  I would like to be able to access the legend elements on a layout document in order to check the dimensions of the swatches and the font, font size, style, and similar properties of the legend elements.  Does anyone know if this is possible through Arcpy.mapping?

I have looked at ListLayoutElements, with LEGEND_ELEMENT as the element_type, but that only returns a list of the names of the layers in the legend.

 

I have a feeling that the object model for Arcpy.mapping is not granular enough to obtain the information I need.  Is this correct?

 

Any help, suggestions, advice would be greatly and gratefully appreciated.

Outcomes