ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / MapFrame Class / SetCamera Method

In This Topic
    SetCamera Method
    In This Topic
    Overload List
    OverloadDescription
    Sets the map frame extent to a camera position. This method must be called on the MCT. Use QueuedTask.Run.  
    Sets the map frame extent defined in a bookmark. This method must be called on the MCT. Use QueuedTask.Run.  
    Sets the map frame extent using an envelope. This method must be called on the MCT. Use QueuedTask.Run.  
    Sets the map frame extent using the extent of multiple layers. This method must be called on the MCT. Use QueuedTask.Run.  
    Sets the map frame extent using the a layer's extent. This method must be called on the MCT. Use QueuedTask.Run.  
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also