This document is archived and information here might be outdated.  Recommended version.


IBasicMap2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IB > IBasicMap2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IBasicMap2 Interface

Provides access to members that control the basic map.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Read/write property ActiveGraphicsLayer The active graphics layer. If no graphic layers exist a basic memory graphics layer will be created.
Method AddLayer Adds a layer to the map.
Method AddLayers Adds multiple layers to the map, arranging them nicely if specified.
Write-only property AreaOfInterest Area of interest for the map.
Read-only property BasicGraphicsLayer The basic graphics layer.
Method ClearLayers Removes all layers from the map.
Method ClearSelection Clears the map selection.
Read/write property CopyrightText Copyright information associated with the map.
Method DeleteLayer Deletes a layer from the map.
Read/write property Description Description of the map.
Read/write property FeatureSelection The map's feature selection.
Read-only property Layer The layer at the given index.
Read-only property LayerCount Number of layers in the map.
Read-only property Layers The layers in the map of the type specified in the uid. If recursive is true it will return layers in group layers.
Read/write property Name Name of the map.
Method SelectByShape Selects features in the map given a shape and a selection environment (optional).
Read-only property SelectionCount Number of selected features in the map.
Read/write property SpatialReference The spatial reference of the map.

CoClasses that implement IBasicMap2

CoClasses and Classes Description
Map A container for the display and manipulation of map data.