ArcGIS Pro 2.6 API Reference Guide
Map Class Members
Properties  Methods  Events


ArcGIS.Desktop.Mapping Namespace : Map Class

The following tables list the members exposed by Map.

Public Properties
 NameDescription
Public Property Gets the animation for the map.  
Public Property Gets the current color model  
Public Property Gets the map's default viewing mode.  
Public Property Gets the collection of elevation surfaces for the map  
Public Property Gets whether the map is of type scene.  
Public Property Gets a read-only collection of layers from the layer container.  
Public Property Gets the map type.  
Public Property Gets the name of the map.  
Public Property Gets the clip distance for the map  
Public Property Gets the clipping mode for the map  
Public Property Gets the OperationManager.  
Public Property Gets the reference scale of the map.  
Public Property Gets the number of rows and features selected in the map.  
Public Property Gets if simulate overprint is set  
Public Property Gets the spatial reference of the map.  
Public Property Gets all standalone tables of the map.  
Public Property Gets or sets the graphics layer that acts as a target for interactive drawing tools.  
Public Property Gets the unique URI of this dataset.  
Top
Public Methods
 NameDescription
Public MethodOverloaded.   
Public Method Returns the full extent of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Methodstatic (Shared in Visual Basic) Indicates whether or not an item can be added to the map.  
Public Method Verifies if the given surface can be added to the map. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Change GeoDatabase version of layers and standalone tables of fromVersion. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Clear the current map clip geometry. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Will remove all elevation surfaces from the map with the exception of Ground. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Clear the selection in the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Export bookmarks from the active map or scene to a BKMX file. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Performs a find and replace of workspace paths for all layers and tables in the map that share that workspace path. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Finds a layer using a URI.  
Public Method Finds layers by name.  
Public Method Finds the specified standalone table in the map.  
Public Method Finds standalone tables by name.  
Public Method Returns the map's collection of bookmarks. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Get the current map clipping geometry. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns the custom full extent of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns the default full extent of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns the map definition. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Gets the number of elements in the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Gets the storage size of all the elements in the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Gets the list of CIM elevation surfaces for the map. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Returns the general label placement properties of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Gets the ground elevation surface from the map. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Get the highlight selection for the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns the label engine type of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns a read only flat list of layers where nested groups are not preserved.  
Public Method Get the collection of map panes for the map  
Public Method Get the selection for the map. This method must be called on the MCT. Use QueuedTask.Run  
Public MethodOverloaded.   
Public Method Import bookmarks from ArcMap, ArcGlobe, and ArcScene bookmark files (*.dat) or ArcGIS Pro bookmark files (*.bmkx). This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Moves the bookmark to a new index in the map's collection of bookmarks. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Moves a layer to a different position in the table of contents. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Open a new view for this map.  
Public Method Removes the bookmark from the map. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Removes the elevation surface from the existing collection of elevation surfaces. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Removes a specified layer from the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Removes the specified layers from the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Removes the specified standalone table from the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Removes the specified standalone tables from the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Performs a find and replace of workspace paths for all layers and tables in the map that share that workspace path. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Saves the map as a mapx file. This method must be called on the MCT. Use QueuedTask.Run  
Public MethodOverloaded.   
Public Method Set map clipping to the provided clip polygon. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Updates the custom full extent of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Sets the map definition. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Set the elevation surface into the existing collection of elevation surfaces on the map. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Set the collection of elevation surfaces into the existing collection of elevation surfaces on the map. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Updates the general label placement properties of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Updates the label engine type of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Updates the name of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Updates the reference scale of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Set the selection in the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Updates the spatial reference of the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns the name of the map.  
Top
Protected Methods
Extension Methods
 NameDescription
Public Extension Method Add a diagram layer to a diagram map.
Public Extension Method Add a diagram layer to a diagram map.
Public Extension Method Compute the combined scale factor using two points and using a z elevation at the mid-point between them.
Public Extension Method Gets the GroundToGridCorrection for the given map.
Public Extension Method Sets the GroundToGridCorrection for the given map.
Top
Public Events
 NameDescription
Public Event Occurs when a property value changes. (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Top
See Also

Reference

Map Class
ArcGIS.Desktop.Mapping Namespace