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.CreateESRISpatialReference Method (ArcObjects .NET 10.5 SDK) |
Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer.
[Visual Basic .NET] Public Sub CreateESRISpatialReference ( _ ByVal spatRefInfo As String, _ ByRef SpatialReference As ISpatialReference, _ ByRef cBytesRead As Integer _ )
[C#] public void CreateESRISpatialReference ( string spatRefInfo, ref ISpatialReference SpatialReference, ref int cBytesRead );
[C++]
HRESULT CreateESRISpatialReference(
BSTR spatRefInfo,
ISpatialReference** SpatialReference,
long* cBytesRead
);
[C++]
Parameters spatRefInfo spatRefInfo is a parameter of type BSTR SpatialReference [out]
SpatialReference is a parameter of type ISpatialReference cBytesRead [out] cBytesRead is a parameter of type long