ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / LookAtAsync Method
The point to center the view at.
The amount of time to navigate the view to the new camera position. If null it uses the transition time property set for the application.
Version

LookAtAsync Method
Center the view at a given point.
Syntax

Parameters

mapPoint
The point to center the view at.
duration
The amount of time to navigate the view to the new camera position. If null it uses the transition time property set for the application.

Return Value

True if the navigation is completed, false if it was interrupted by another view navigation.
Remarks
In 2D this will center the view on the given point, it will not adjust the Scale or Heading of the view. In 3D this will maintain X, Y, and Z for the camera and adjust the Heading and Pitch so that the provided point is at the center of the view.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also