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

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

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also