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


IJSONConverterGeometry.ToSpatialReference Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IJ > IJSONConverterGeometry Interface > IJSONConverterGeometry.ToSpatialReference Method
ArcGIS Developer Help

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