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

In This Topic
    SetCamera(Bookmark) Method
    In This Topic
    Sets the map page extent defined in a bookmark. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetCamera( 
       Bookmark bookmark
    )
    Public Overloads Sub SetCamera( _
       ByVal bookmark As Bookmark _
    ) 

    Parameters

    bookmark
    Bookmark
    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