ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class


In This Topic
    MapView Class Methods
    In This Topic

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

    Public Methods
     NameDescription
    Public Method An asynchronous function to add an ExploratoryAnalysisBase subclass instance to the MapView. Calling this method activates the Exploratory Analysis object and presents it on the view.  
    Public Method Add a control over the view.  
    Public Method Stop the current drawing of the MapView.  
    Public MethodGets a value indicating if the view can be changed to the provided ArcGIS.Core.CIM.MapViewingMode.  
    Public Method Capture a bitmap of the MapView content.  
    Public Method Clears the selection from the TOC.  
    Public Method Converts a point in client coordinates relative to the top-left corner of the view to a point in the coordinates of the map or scene. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Converts a screen point to a point in client coordinates relative to the top-left corner of the view.  
    Public Method Closes the active popup window. You must be on the UI thread to call this function  
    Public MethodOverloaded.   
    Public MethodOverloaded.   
    Public MethodOverloaded.   
    Public Method Returns the CIMCameraEffect object for the active 3D View.  
    Public Method Get a list of the Exploratory Analysis objects that exist for this MapView. You can check each object's type to identify which subclass it is.  
    Public Method Return features that intersect a geometry. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Return features that intersect a geometry. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Get all the current overlay controls.  
    Public Method Returns an array of active CIMPostprocessingEffect objects for the active 3D View.  
    Public Method Returns the selected DataSourceMember.  
    Public Method Returns the collection of elevation source layers selected in the TOC.  
    Public Method Returns the collection of elevation surface layers selected in the TOC.  
    Public Method Returns the collection of voxel isosurfaces selected in the TOC.  
    Public Method Returns the collection of layers selected in the TOC.  
    Public Method Returns the collection of legend classes selected in the TOC.  
    Public Method Returns the collection of voxel locked sections selected in the TOC.  
    Public Method Returns the collection of voxel sections selected in the TOC.  
    Public Method Returns the collection of voxel slices selected in the TOC.  
    Public Method Returns the collection of tables selected in the TOC.  
    Public Method Returns the current size of the view.  
    Public Method Returns the CIMVisualEffect object for the active 3D View.  
    Public Method Indicates whether the map view has a next camera position.  
    Public Method Indicates whether the map view has a previous camera position.  
    Public MethodOverloaded.   
    Public Method Center the view at a given point. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Center the view at a given point.  
    Public Method Converts a point in the coordinates of the map or scene to a point in client coordinates relative to the top-left corner of the view. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Converts a point in the coordinates of the map or scene to a point in screen coordinates. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Go to the next camera position. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Go to the next camera position.  
    Public MethodOverloaded.   
    Public MethodOverloaded.   
    Public Method Pan the view to the extent of the selected features in the map or scene. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Pan the view to the extent of the selected features in the map or scene.  
    Public Method Go to the previous camera position. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Go to the previous camera position.  
    Public MethodOverloaded.   
    Public Method Force a redraw of the map view. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Force a redraw of the map view  
    Public Method Removes the provided ExploratoryAnalysisBase instance from the MapView. It will no longer be tracked or drawn in the view. The parameter provided should be destroyed after it has been removed to avoid errors or confusion.  
    Public Method Remove a control from over the view.  
    Public Method Converts a point in client coordinates relative to the top-left corner of the view to a screen point.  
    Public Method Converts a point in screen coordinates to a point in the coordinates of the map or scene. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Selects the DataSourceMember in the TOC.  
    Public Method Select elements that visually intersect a geometry. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Selects elevation source layers in the TOC.  
    Public Method Selects elevation surface layers in the TOC.  
    Public Method Select features that intersect a geometry. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Select features that intersect a geometry. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Selects layers in the TOC.  
    Public Method Selects legend classes in the TOC.  
    Public Method Selects standalone tables in the TOC.  
    Public Method Selects the voxel isosurface in the TOC.  
    Public Method Selects the voxel locked section in the TOC.  
    Public Method Selects the voxel section in the TOC.  
    Public Method Selects the voxel slice in the TOC.  
    Public Method Sets the active range name for the map view.  
    Public Method Sets the Camera Effect for the active 3D View. Only works on 3D Views.  
    Public MethodOverloaded.   
    Public Method Sets the field of view angle of the scene view.  
    Public Method Set the Postprocessing Effects for the active 3D View. Only works on 3D Views. Can set multiple effects simultaneously by adding them to the array being passed in.  
    Public Method Sets the perspective of the scene view.  
    Public Method Set the perspective of the map view. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Set the perspective of the map view..  
    Public Method Sets the Visual Effect for the active 3D View. Only works on 3D Views.  
    Public MethodOverloaded.   
    Public MethodOverloaded.   
    Public Method Zoom the Camera in by a fixed amount. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Zoom the Camera in by a fixed amount.  
    Public Method Zoom the Camera out by a fixed amount. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Zoom the Camera out by a fixed amount.  
    Public MethodOverloaded.   
    Public MethodOverloaded.   
    Public Method Zoom the view to the full extent of the map or scene. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Zoom the view to the full extent of the map or scene.  
    Public Method Zoom the view to the extent of the selected features in the map or scene. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Zoom the view to the extent of the selected features in the map or scene.  
    Top
    Extension Methods
     NameDescription
    Public Extension MethodOverloaded. 
    Public Extension MethodOverloaded. 
    Public Extension MethodOverloaded. 
    Public Extension Method Clears the root nodes for the link chart map view. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Clears the current sketch in the view.
    Public Extension Method Gets the current geometry of the sketch without finishing it.
    Public Extension Method Gets the layout algorithm for the link chart map view. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Gets the set of root nodes as a MapMemberIDSet. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Gets whether root nodes are displayed for the link chart map view.
    Public Extension Method Gets the type of geometry for the current sketch.
    Public Extension Method Selects the existing set of root nodes defined on the link chart mapview. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension MethodOverloaded. 
    Public Extension Method Sets AND selects the root nodes for the link chart map view. Use an empty set of rootNodes to clear the existing set of root nodes and the selection. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Sets the current geometry of the sketch without finishing it.
    Public Extension MethodOverloaded. 
    Public Extension Method Sets the root nodes for the link chart map view. Use an empty set of rootNodes to clear the existing set of root nodes. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension Method Sets whether root nodes are displayed for the link chart map view. This method must be called on the MCT. Use QueuedTask.Run.
    Public Extension MethodOverloaded. 
    Top
    See Also