![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IJ > IJSONConverterGeometry Interface > IJSONConverterGeometry.ToPolygon Method (ArcObjects .NET 10.4 SDK) |
Reads polygon from a JSON object.
[Visual Basic .NET] Public Function ToPolygon ( _ ByVal pJSONObject As IJSONObject, _ ByVal bDefaultHasZs As Boolean, _ ByVal bDefaultHasMs As Boolean _ ) As IPolygon
[C#] public IPolygon ToPolygon ( IJSONObject pJSONObject, bool bDefaultHasZs, bool bDefaultHasMs );
[C++]
HRESULT ToPolygon(
IJSONObject* pJSONObject,
VARIANT_BOOL bDefaultHasZs,
VARIANT_BOOL bDefaultHasMs,
IPolygon** ppPolygon
);
[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 ppPolygon [out, retval]
ppPolygon is a parameter of type IPolygon