public static Task<IMapPane> CreateMapPaneAsync( PaneCollection paneCollection, Map map, Bookmark bookmark, Nullable<MapViewingMode> viewingMode )
Public Overloads Shared Function CreateMapPaneAsync( _ ByVal paneCollection As PaneCollection, _ ByVal map As Map, _ ByVal bookmark As Bookmark, _ Optional ByVal viewingMode As Nullable(Of MapViewingMode) _ ) As Task(Of IMapPane)
Parameters
- paneCollection
- The project's collection of panes returned from ArcGIS.Desktop.Framework.FrameworkApplication.Panes.
- map
- The map to display in the resulting view.
- bookmark
- Sets the spatial and time extent to use in the view.
- viewingMode
- Specifies the perspective of the view.
Return Value
A Task returning a map pane.