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


IRasterMapModel.Set2SR Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterMapModel.Set2SR Method

Resets to Esri Spatial Reference.

[Visual Basic .NET]
Public Sub Set2SR ( _
    ByVal pSR As ISpatialReference _
)
[C#]
public void Set2SR (
    ISpatialReference pSR
);
[C++]
HRESULT Set2SR(
  ISpatialReference* pSR
);
[C++]

Parameters pSR [in]
pSR is a parameter of type ISpatialReference*

Product Availability

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

See Also

IRasterMapModel Interface