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


IJSONConverterGeometry.ToSpatialReference Method (ArcObjects .NET 10.6 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
);
[C++]

Parameters pJSONObject [in]
pJSONObject is a parameter of type IJSONObject*

Product Availability

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

See Also

IJSONConverterGeometry Interface