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


IRasterMapModel.Convert2SR 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.Convert2SR Method
ArcGIS Developer Help

IRasterMapModel.Convert2SR Method

Converts to Esri Spatial Reference.

[Visual Basic .NET]
Public Function Convert2SR ( _
    ByVal factory As SpatialReferenceEnvironment _
) As ISpatialReference
[C#]
public ISpatialReference Convert2SR (
    SpatialReferenceEnvironment factory
);
[C++]
HRESULT Convert2SR(
  ISpatialReferenceFactory* factory
);
[C++]
Parameters
factory [in]

factory is a parameter of type ISpatialReferenceFactory*

Product Availability

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

See Also

IRasterMapModel Interface