Select to view content in your preferred language

Change Legend Item Font Size

477
4
04-10-2025 06:36 AM
MichaelWen_Timmons
Regular Contributor

Is there a way to set the font size of individual legend items?

MichaelWen_Timmons_1-1744291994764.png

 

I'm trying to change the font size for 'xxxMgmt Bnd' layer legend to match the others. I've already tried modifying the patchHeight and patchWidth, but all that does is change the size of the graphic element, not the font size. I can't believe there's not a font property for legend item.

Modifying the 'fittingStrategy' of the Legend Element doesn't work either. It changes every legend item's graphics, not the font size.

0 Kudos
4 Replies
KG_427
by
Regular Contributor

Select the layer that you want to modify the text size under the legend in the Contents pane, and then there is a text symbol option next to the legend item options. 

 

You can also have the legend selection and do the same thing and modify the text size for all layers at once.

 

KG_427_0-1744293297912.png

 

0 Kudos
MichaelWen_Timmons
Regular Contributor

Sorry that I forgot to mention this - I need to do this in ArcPy, not through Arc Pro.

0 Kudos
KG_427
by
Regular Contributor

Ah, that definitely changes things! You may get better responses posting this in the Python Questions section. I tried a few things in the console of a layout I had open but no success.

MichaelWen_Timmons
Regular Contributor

Thank you very much. I will do that. 

Moderator, please delete this thread. I don't seem to have that option.

0 Kudos