ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / Raster Class / SetSpatialReference Method
The ArcGIS.Core.Geometry.SpatialReference to set.

In This Topic
    SetSpatialReference Method (Raster)
    In This Topic
    Sets the ArcGIS.Core.Geometry.SpatialReference of this raster. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetSpatialReference( 
       SpatialReference spatialRef
    )
    Public Sub SetSpatialReference( _
       ByVal spatialRef As SpatialReference _
    ) 

    Parameters

    spatialRef
    The ArcGIS.Core.Geometry.SpatialReference to set.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also