ArcGIS Pro 2.9 API Reference Guide
GetSpatialReference Method (Raster)

ArcGIS.Core.Data.Raster Namespace > Raster Class : GetSpatialReference Method
Gets the ArcGIS.Core.Geometry.SpatialReference of this raster. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public SpatialReference GetSpatialReference()
Public Function GetSpatialReference() As SpatialReference

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

Raster Class
Raster Members