ArcGIS Pro 3.7 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 Sub SetSpatialReference( _
       ByVal spatialRef As SpatialReference _
    ) 
    public void SetSpatialReference( 
       SpatialReference spatialRef
    )

    Parameters

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also