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


IJSONConverterGeometry.ToSpatialReference Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IJSONConverterGeometry.ToSpatialReference Method

Reads spatial reference from a JSON object.

[Visual Basic .NET]
Public Function ToSpatialReference ( _
    ByVal pJSONObject As IJSONObject _
) As ISpatialReference
[C#]
public ISpatialReference ToSpatialReference (
    IJSONObject pJSONObject
);
[C++]
HRESULT ToSpatialReference(
  IJSONObject* pJSONObject,
  ISpatialReference** ppSR
);
[C++]

Parameters pJSONObject [in]
pJSONObject is a parameter of type IJSONObject ppSR [out, retval]
ppSR is a parameter of type ISpatialReference

Product Availability

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

See Also

IJSONConverterGeometry Interface