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. |
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 = EnvelopeBuilder.FromJson(jsonString);
Target Platforms: Windows 10, Windows 8.1