ArcGIS Pro 2.8 API Reference Guide
Map Class Methods


ArcGIS.Desktop.Mapping Namespace : Map Class

For a list of all members of this type, see Map members.

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 Gets the list of available elevation unit formats for the given scene. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Gets the list of available map location unit formats for the given map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Returns the map's collection of bookmarks. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets whether the Map metadata can be edited or not. 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 Gets the current scene elevation unit format. 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 Gets the current map location unit format for the current project. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Get the collection of map panes for the map  
Public Method Gets the Map metadata. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Get the selection for the map. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Gets a readonly snapshot of the layers  
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 Sets the current scene elevation unit format. 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 Sets the current map location unit format for the current project. This method must be called on the MCT. Use QueuedTask.Run  
Public Method Sets the Map metadata. 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
 NameDescription
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
Top
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
See Also

Reference

Map Class
ArcGIS.Desktop.Mapping Namespace