This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend3 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to additional members that control a legend.
Description | ||
---|---|---|
AddItem | Adds a new item to the legend (to the end of the list). | |
AdjustColumns | Adjust the item settings so that the legend contains the specified number of columns. | |
AutoAdd | Indicates if a new item should be added when a new layer is added to the map. | |
AutoColumns | Automatically flow legend items to fit fixed frame. | |
AutoFit | Automatically resize legend items to fit fixed frame. | |
AutoReorder | Indicates if the legend items should be kept in the same order as the layers. | |
AutoVisibility | Indicates if items should be shown only when associated layers are visible. | |
ClearItems | Removes all items from the legend. | |
DefaultLegendItem | The default legend item for the specified layer. | |
DelayEvents | Used to batch operations together to minimize notifications. | |
Draw | Draws the map surround into the specified display bounds. | |
FitToBounds | Adjusts the map surround to fit the bounds. The changed argument indicates whether the size of the map surround was changed. | |
FixedFrame | Indicates frame should not shrink or grow with legend. Enables AutoColumns and AutoFit. | |
FlowRight | Reserved for future use. | |
Format | The formatting options for the legend (can be stored in the style gallery). | |
Icon | Icon used to represent the map surround. | |
InsertItem | Inserts a new item into the legend (at the location specified by index). | |
Item | The specified item from the legend. | |
ItemCount | Number of items in the legend. | |
Map | The parent map. | |
MinFontSize | Minimumn font size when AutoFit is true. | |
Name | Name of the map surround. | |
QueryBounds | Returns the bounds of the map surround. | |
Refresh | Makes sure the latest updates are refected the next time the Map Surround is drawn. | |
RemoveItem | Removes the specified item from the legend. | |
ScaleSymbols | Indicates if symbols are scaled for the layer. | |
SupportsAutoColumns | Can legend items be automatically flowed to fit fixed frame? | |
Title | Title. |