HOW TO

Configure legend properties for custom print templates from Portal for ArcGIS

Last Published: December 9, 2022

Summary

In ArcMap, after adding a legend to a map template from Portal for ArcGIS, the legend in the printed output may go beyond the designated frame if the legend properties are not configured correctly for custom print templates.

The picture shows the example of the error produced
Note:
It is highly recommended to use ArcGIS Pro for printing and exporting, especially when experiencing issues caused by the limitations of the ArcMap display engine. More specifically, ArcGIS Pro is not restricted by the graphical device interface (GDI) limitations that some users experience in ArcMap. For example, transparency is natively supported in ArcGIS Pro, preventing the rasterization of layers. Additionally, ArcGIS Pro supports transparency in layout elements.

The following instructions describe how to configure the legend of a print template used by a printing service in Portal for ArcGIS.

Procedure

  1. Open the MXD used by the print template in ArcMap.
  2. Double-click the legend to open Legend Properties, and click the Layout tab.
  3. In the Fitting Strategy section, check the Fixed Frame, Automatically adjust number of columns, and Shrink contents to fit frame check boxes.
  4. In the Text Wrapping section, check the Wrap labels and Wrap descriptions check boxes.
  5. In the Label width and Description width text boxes, type the desired values.
  6. Click Apply > OK.
The picture describes how to configure the legend properties in ArcMap
Note:
Setting the measurements for description and label width restricts the width so that it remains constant even if the legend frame is resized.
For fonts which are still large for the template, set the fonts manually in the Legend Properties from ArcMap. Create a placeholder layer in the map template to activate the font parameter for legend items in Legend Properties > Items.

Article ID:000015666

Software:
  • Portal for ArcGIS
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic