ArcGIS Pro 2.7 API Reference Guide
Z Property (Camera)

ArcGIS.Desktop.Mapping Namespace > Camera Class : Z Property
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;}
Public Property Z As Double
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 10, Windows 8.1

See Also

Reference

Camera Class
Camera Members