ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / MapPresentationPage Class / SetCamera Method / SetCamera(Envelope) Method
Envelope

In This Topic
    SetCamera(Envelope) Method
    In This Topic
    Sets the map page extent using an envelope. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetCamera( 
       Envelope extent
    )
    Public Overloads Sub SetCamera( _
       ByVal extent As Envelope _
    ) 

    Parameters

    extent
    Envelope
    Exceptions
    ExceptionDescription
    This method or property 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