Includes the map legend in the print output.
The Legend control works with 2D maps only. If you print a 3D web scene from a Web AppBuilder app, the Legend control will be blank.
In order for a layer to show in the legend:
The layer must be visible, that is, the layer's visibility must be turned on and the layer must be visible at the scale at which the map is printed.
The layer must be configured to show in the legend.
The method you use to include the layer in the legend depends on how the map was created:
Geocortex Essentials: To include a layer from a Geocortex Essentials map, edit the layer in Geocortex Essentials Manager and select the Include in Legend checkbox on the layer's Details tab. Alternatively, configure the setting in the layer's drop-down menu.
ArcGIS: To include a layer from an ArcGIS web map, edit the map in ArcGIS, open the map's Content panel, click the More Options icon, and click Show in Legend.
The legend fills the space provided by the Legend control. If the control isn't large enough to show the entire legend, the legend will be cut off.
Properties Common to Most Controls
For more information about the properties listed below, see Properties Common to Most Controls.
- Actions: Align to Grid, Size to Grid, Center Horizontally, Center Vertically, Bring to Front, Send to Back, Fit Bounds to Container
- Styles: Even Style, Odd Style, Style
- Appearance: Background Color, Border Color, Border Dash Style, Border Width, Borders, Font Name, Font Size, Font Unit, Font Effects, Foreground Color, Padding
- Behavior: Can Publish, Keep Together, Visible
- Data: Tag
- Design: Name
- Layout: Location, Size
- Navigation: Bookmark, Parent Bookmark, Navigation URL
For more information regarding each of the property groups, see the Control Reference.
Enable Smart Filter
Sets whether legend symbols that do not appear in the printed map are shown in the legend.
In order for a layer's symbols to be filtered:
Smart Filtering increases the time it takes for prints to generate.
Note that the Legend control does not support the following settings:
Underline setting in Appearance | Font
Strikethrough setting in Appearance | Font
Sets whether an item can be split horizontally across pages. When
Right to Left
Specifies the layout of the content within a
The options include:
Refer to the following resources for additional help on implementing this control: