ArcObjects Library Reference (Geometry)  

IJSONConverterGeometry.ToPolyline Method

Reads polyline from a JSON object.

[Visual Basic .NET]
Public Function ToPolyline ( _
    ByVal pJSONObject As IJSONObject, _
    ByVal bDefaultHasZs As Boolean, _
    ByVal bDefaultHasMs As Boolean _
) As IPolyline
[C#]
public IPolyline ToPolyline (
    IJSONObject pJSONObject,
    bool bDefaultHasZs,
    bool bDefaultHasMs
);
[C++]
HRESULT ToPolyline(
  IJSONObject* pJSONObject,
  VARIANT_BOOL bDefaultHasZs,
  VARIANT_BOOL bDefaultHasMs,
  IPolyline** ppPolyLine
);
[C++]

Parameters

pJSONObject [in]

  pJSONObject is a parameter of type IJSONObject

bDefaultHasZs   bDefaultHasZs is a parameter of type VARIANT_BOOL bDefaultHasMs   bDefaultHasMs is a parameter of type VARIANT_BOOL ppPolyLine [out, retval]

  ppPolyLine is a parameter of type IPolyline

Product Availability

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

See Also

IJSONConverterGeometry Interface