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
public ISpatialReference Convert2SR (
    SpatialReferenceEnvironment factory
  ISpatialReferenceFactory* factory
factory [in]

factory is a parameter of type ISpatialReferenceFactory*

Product Availability

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

See Also

IRasterMapModel Interface