Show / Hide Table of Contents

Method FromJson

FromJson(String)

Creates a label definition from an ArcGIS JSON label representation (labelingInfo).

Declaration
public static LabelDefinition FromJson(string json)
Parameters
Type Name Description
System.String json

The JSON string for the label definition.

Returns
Type Description
LabelDefinition

A new LabelDefinition object.

Exceptions
Type Condition
System.ArgumentNullException

json is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
Relevant samples
Display subtype feature layer: Displays a composite layer of all the subtype values in a feature class.
In This Article
Back to top Copyright © 2022 Esri.