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


ISpatialReferenceFactory.CreateESRISpatialReferenceFromPRJ Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISpatialReferenceFactory.CreateESRISpatialReferenceFromPRJ Method

Creates a spatial reference from a PRJ string.

[Visual Basic .NET]
Public Function CreateESRISpatialReferenceFromPRJ ( _
    ByVal prj As String _
) As ISpatialReference
[C#]
public ISpatialReference CreateESRISpatialReferenceFromPRJ (
    string prj
);
[C++]
HRESULT CreateESRISpatialReferenceFromPRJ(
  BSTR prj,
  ISpatialReference** SpatialReference
);
[C++]

Parameters prj prj is a parameter of type BSTR SpatialReference [out, retval]
SpatialReference is a parameter of type ISpatialReference

Product Availability

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

Description

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

See Also

ISpatialReferenceFactory Interface