Class CIMColorSubstitution

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents color substitution, an ordered list of color substitutes.

public class CIMColorSubstitution : CIMObject
Inheritance
CIMColorSubstitution
Inherited Members

Constructors

CIMColorSubstitution()

public CIMColorSubstitution()

Properties

NewColor

Gets or sets the new color that will replace the old color.

public CIMColor NewColor { get; set; }

Property Value

CIMColor

OldColor

Gets or sets the old color (the color that will be substituted).

public CIMColor OldColor { get; set; }

Property Value

CIMColor

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMColorSubstitution with a specified state from a JSON encoding.

public static CIMColorSubstitution FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMColorSubstitution state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMColorSubstitution

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMColorSubstitution and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string