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


IBasicMap Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IB > IBasicMap Interface
ArcGIS Developer Help

IBasicMap Interface

Provides access to members that control the basic map. Note: the IBasicMap interface has been superseded by IBasicMap2. Please consider using the more recent version.

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.
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.

Classes that implement IBasicMap

Classes Description
Globe (esriGlobeCore) A container for the display and manipulation of data in the Globe.
Map A container for the display and manipulation of map data.
Scene (esri3DAnalyst) A container for the display and manipulation of data.

Remarks

IBasicMap is a subset of IMap that provides support for ArcScene and ArcGlobe. The Map (2D), Scene (3D), and Globe (3D) coclasses implement this interface. Components used by ArcMap, ArcScene, and ArcGlobe, (such as the IdentifyDialog) utilize IBasicMap rather than IMap.

.NET Samples

Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Using HookActions in custom commands Tabbed feature inspector Save a layer file in a MapControl application ArcGIS Network Analyst extension Engine application RSS weather GraphicTracker RSS weather GraphicTracker Updating the purge rule on a real-time temporal layer