This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterLayerExport Interface > IRasterLayerExport.SpatialReference Property (ArcObjects .NET 10.4 SDK) |
The coordinate system of the exported raster.
[Visual Basic .NET]
Public WriteOnly Property SpatialReference
[C#] public void SpatialReference {set;}
[C++]
HRESULT putref_SpatialReference(
ISpatialReference*
);
[C++]
Parameters [in]
is a parameter of type ISpatialReference
The SpatialReference is used to set the spatial reference of the output raster. If it not specified, the output will take the spatial reference from the RasterLayer. If the spatial reference specified is different from that in the RasterLayer, reprojection will accur on the fly.