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

ISpatialReferenceFactory.CreateESRISpatialReferenceFromPRJ Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialReferenceFactory Interface > ISpatialReferenceFactory.CreateESRISpatialReferenceFromPRJ Method
ArcGIS Developer Help

ISpatialReferenceFactory.CreateESRISpatialReferenceFromPRJ Method

Creates a spatial reference from a PRJ string.

[Visual Basic .NET]
Public Function CreateESRISpatialReferenceFromPRJ ( _
    ByVal prj As String _
) As ISpatialReference
public ISpatialReference CreateESRISpatialReferenceFromPRJ (
    string prj
HRESULT CreateESRISpatialReferenceFromPRJ(
  BSTR prj

prj is a parameter of type BSTR

Product Availability

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


Not implemented for GeographicCoordinateSystem and ProjectedCoordinateSystem. Use the CreateESRISpatialReference or CreateESRISpatialReferenceFromPRJFile methods instead.

See Also

ISpatialReferenceFactory Interface