ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / MapPresentationPage Class / SetMapSource Method
The map source

In This Topic
    SetMapSource Method
    In This Topic
    Sets the map source of the map presentation page. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetMapSource( 
       Map map
    )
    Public Sub SetMapSource( _
       ByVal map As Map _
    ) 

    Parameters

    map
    The map source
    Exceptions
    ExceptionDescription
    This method must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also