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


IJSONConverterGeometry.ReadGeometry 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.ReadGeometry Method
ArcGIS Developer Help

IJSONConverterGeometry.ReadGeometry Method

Reads geometry object. If provided geometry type is esriUnknown, tries to deduce geometry type from the JSON structure.

[Visual Basic .NET]
Public Function ReadGeometry ( _
    ByVal pReader As IJSONReader, _
    ByVal geomType As esriGeometryType, _
    ByVal bDefaultHasZs As Boolean, _
    ByVal bDefaultHasMs As Boolean _
) As IGeometry
[C#]
public IGeometry ReadGeometry (
    IJSONReader pReader,
    esriGeometryType geomType,
    bool bDefaultHasZs,
    bool bDefaultHasMs
);
[C++]
HRESULT ReadGeometry(
  IJSONReader* pReader,
  esriGeometryType geomType,
  VARIANT_BOOL bDefaultHasZs,
  VARIANT_BOOL bDefaultHasMs
);
[C++]
Parameters
pReader [in]

pReader is a parameter of type IJSONReader* geomType [in]
geomType is a parameter of type esriGeometryType bDefaultHasZs
bDefaultHasZs is a parameter of type bool bDefaultHasMs
bDefaultHasMs is a parameter of type bool

Product Availability

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

See Also

IJSONConverterGeometry Interface