ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapProjectItem Class / OpenMapPaneAsync Method
The MapViewingMode. Default is MapViewingMode.Map

In This Topic
    OpenMapPaneAsync Method
    In This Topic
    Opens a map pane for the map project item
    Syntax
    public Task<IMapPane> OpenMapPaneAsync( 
       MapViewingMode flag
    )
    Public Function OpenMapPaneAsync( _
       Optional ByVal flag As MapViewingMode _
    ) As Task(Of IMapPane)

    Parameters

    flag
    The MapViewingMode. Default is MapViewingMode.Map

    Return Value

    Task{MapPane}
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also