ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Camera Class / X Property

X Property (Camera)
Gets or sets the X position of the Camera, in the units of the camera's spatial reference. This property applies to both 2D and 3D views.
Syntax
public double X {get; set;}
Remarks
X, Y, Z, and SpatialReference are used to describe the viewing location. X defines the x coordinate of the camera location.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also