Provides access to members of map collection.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
Description | ||
---|---|---|
Add | Adds a map to the collection. | |
Count | Number of maps. | |
Create | Creates a new map. | |
Item | The map at the given index. | |
MoveItem | Moves the map to the given index. | |
Remove | Removes a map from the collection. | |
RemoveAt | Removes a map at the specified index. | |
Reset | Removes all maps from the collection. |
Remarks
Every map document contains at least one Map object but a map document can contain any number of Map objects. The Maps object contains a collection of all the maps of the document. IMxDocument::Maps returns a reference to this collection.
The IMaps2 interface is a collection of map objects and contains method and properties to manage the maps contained by the document.
Only one Map can have focus at a time, and this Map is called the focus map. IMxDocument::FocusMap returns a reference to the Map currently with focus.