This document is archived and information here might be outdated. Recommended version. |
Provides access to members of map collection.
Name | 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. |
CoClasses and Classes | Description |
---|
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.