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


IRasterMapModel.Set2SR Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterMapModel Interface > IRasterMapModel.Set2SR Method
ArcGIS Developer Help

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