ArcGIS Pro 2.6 API Reference Guide
OpenMapPane Method

ArcGIS.Desktop.Mapping Namespace > MapProjectItem Class : OpenMapPane Method
The MapViewingMode. Default is MapViewingMode.Map
Opens a map pane for the map project item
Syntax
public Task<IMapPane> OpenMapPane( 
   MapViewingMode flag
)
Public Function OpenMapPane( _
   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 10, Windows 8.1, Windows 7

See Also

Reference

MapProjectItem Class
MapProjectItem Members