HOW TO

Erstellen einer Legende mit abgerundeten Ecken in einem ArcGIS Pro-Layout

Last Published: August 17, 2023

Zusammenfassung

In ArcGIS Pro, once a legend is added to a layout, the appearance of the legend can be modified. This article provides two workflows to create a legend with rounded corners in a layout.

Vorgehensweise

Use one of the workflows below to create a legend with rounded corners.

Adjust the rounding value of the legend background

  1. Fill the legend with the desired color. Refer to the 'Fill the background by adjusting the X and Y gap values' workflow in How To: Fill the legend background in an ArcGIS Pro layout for steps to change the legend background color. The image below shows the legend background is filled. However, the corners are not rounded.
The legend background.
  1. To round the corners of the legend background, in the Format Legend pane, on the Display The paintbrush icon representing the Display tab. tab, navigate to the Background section.
  2. Adjust the Rounding value as desired. In this example, the Rounding value is '30%'.
The Format Legend pane.

The corners of the legend are rounded as shown in the image below.

The rounded corners of the legend.

Use a modified graphic rectangle as the legend background

  1. Draw a rectangle element in the layout and modify the corners.
    1. On the Insert tab, in the Graphics and Text group, select Rectangle and draw a rectangle over the legend in the layout.
The Insert tab.
  1. In the Format Polygon pane, click the Symbol tab, and click Symbol The paintbrush icon representing Symbol..
  2. Under Appearance, for Color and Outline color, click the down arrows to open the color palette. Choose a color for each section.
The Format Polygon pane.
  1. To round the corners of the rectangle element, on the Symbol tab, click Structure The wrench icon representing Structure.
  2. Expand Symbol.
  3. For Global effects, click Add effect, and select Buffer.
The Symbol tab.
  1. Navigate to Symbol The paintbrush icon representing Symbol..
  2. Expand Buffer effect, and for Size, adjust the value to the desired extent. In this example, the Size value is '5 pt'.
  3. Click Apply.
The expanded Buffer effect pane.
  1. In the Contents pane, click to select and move the rounded rectangle element layer to position it below the legend layer. The legend is now visible over the rectangle element.
The rectangle element with the rounded corners.
  1. Resize the rounded rectangle element as desired.
  2. Adjust the alignment of the rounded rectangle element and the legend.
    1. Press and hold the Ctrl key on the keyboard, and click to select the legend layer in the Contents pane.
    2. Right-click the selected layers, click Align, and select the alignment for the elements. In this example, Align Center and Align Middle are selected.
The Contents pane with the rectangle element and the legend.
  1. In the Contents pane, right-click the selected layers, and select Group to group the layers. This allows the rectangle element and the legend to be moved and resized simultaneously.
The Contents pane with the Group layers

Artikel-ID: 000026958

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln