ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Camera Class / SpatialReference Property

In This Topic
    SpatialReference Property (Camera)
    In This Topic
    Gets or sets the Spatial Reference of the Camera. This property applies to both 2D and 3D views.
    Syntax
    public SpatialReference SpatialReference {get; set;}
    Public Property SpatialReference As SpatialReference
    Remarks
    X, Y, Z, and SpatialReference describe the position of the viewing location. Setting an appropriate spatial reference for the position of the camera allows the camera to be applied across views with different spatial references. The camera's relative location to the Earth remains unchanged. Project the camera if its spatial reference has a different datum than the map's spatial reference using the ArcGIS.Core.Geometry api. If the spatial reference is null the camera assumes the spatial reference of the map to which it is applied.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also