This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialReferenceFactory Interface > ISpatialReferenceFactory.CreateESRISpatialReferenceFromPRJ Method (ArcObjects .NET 10.5 SDK) |
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
Not implemented for GeographicCoordinateSystem and ProjectedCoordinateSystem. Use the CreateESRISpatialReference or CreateESRISpatialReferenceFromPRJFile methods instead.