public static Envelope FromJson( string jsonString )
Public Shared Function FromJson( _ ByVal jsonString As String _ ) As Envelope
Parameters
- jsonString
- JSON representation of an envelope.
Return Value
An Envelope
public static Envelope FromJson( string jsonString )
Public Shared Function FromJson( _ ByVal jsonString As String _ ) As Envelope
Exception | Description |
---|---|
System.ArgumentNullException | The jsonString is empty or null. |
ArcGIS.Core.Geometry.Exceptions.GeometryObjectException | JSON string is invalid or does not represent an Envelope string. |
string jsonString = "{ \"xmin\" : 1, \"ymin\" : 2,\"xmax\":3,\"ymax\":4,\"spatialReference\":{\"wkid\":4326}}"; Envelope envFromJson = EnvelopeBuilderEx.FromJson(jsonString);
Target Platforms: Windows 11, Windows 10