Class CIMSymbolReference

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

Represents a symbol reference.

public class CIMSymbolReference : CIMObject
Inheritance
CIMSymbolReference
Inherited Members

Remarks

Symbol references currently store the symbol in-line in the symbol property. Overrides here are used primarily by renderers to pass overrides through the drawing pipeline.

Constructors

CIMSymbolReference()

public CIMSymbolReference()

Properties

MaxDistance

Gets or sets the maximum distance at which symbols are visible. Objects beyond this point don't get rendered.

public double MaxDistance { get; set; }

Property Value

double

MaxScale

Gets or sets the maximum scale range the symbol reference should be displayed at.

public double MaxScale { get; set; }

Property Value

double

MinDistance

Gets or sets the minimum distance at which symbols are visible. Objects closer than this don't get rendered.

public double MinDistance { get; set; }

Property Value

double

MinScale

Gets or sets the minimum scale range the symbol reference should be displayed at.

public double MinScale { get; set; }

Property Value

double

PrimitiveOverrides

Gets or sets the primitive overrides. Typically set by renderers at draw time.

public CIMPrimitiveOverride[] PrimitiveOverrides { get; set; }

Property Value

CIMPrimitiveOverride[]

ScaleDependentSizeVariation

Gets or sets an array of scale dependent sizes.

public CIMScaleDependentSizeVariation[] ScaleDependentSizeVariation { get; set; }

Property Value

CIMScaleDependentSizeVariation[]

StylePath

Gets or sets the style path. Reserved for future use.

public string StylePath { get; set; }

Property Value

string

Symbol

Gets or sets the symbol.

public CIMSymbol Symbol { get; set; }

Property Value

CIMSymbol

SymbolName

Gets or sets the symbol name.

public string SymbolName { get; set; }

Property Value

string

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMSymbolReference state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMSymbolReference

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string