This document is archived and information here might be outdated.  Recommended version.


IRasterLayerExport.SpatialReference Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterLayerExport.SpatialReference Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IRasterLayerExport Interface