ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Map Class / OpenViewAsync Method

In This Topic
    OpenViewAsync Method (Map)
    In This Topic
    Open a new view for this map.
    Syntax
    Public Function OpenViewAsync() As Task
    public Task OpenViewAsync()

    Return Value

    Remarks
    OpenViewAsync can be called from any thread. Internally, it does not use the QueuedTask. Ideally, this method is not awaited. However, if awaited, the returned task completes at the moment of the initial draw on the newly opened view.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also