ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

Raster Class
Raster Members