ArcGIS Pro 3.7 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 Sub SetMapSource( _
       ByVal map As Map _
    ) 
    public void SetMapSource( 
       Map 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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.5 or higher.
    See Also