Class CIMSymbolReference
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
MaxScale
Gets or sets the maximum scale range the symbol reference should be displayed at.
public double MaxScale { get; set; }
Property Value
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
MinScale
Gets or sets the minimum scale range the symbol reference should be displayed at.
public double MinScale { get; set; }
Property Value
PrimitiveOverrides
Gets or sets the primitive overrides. Typically set by renderers at draw time.
public CIMPrimitiveOverride[] PrimitiveOverrides { get; set; }
Property Value
ScaleDependentSizeVariation
Gets or sets an array of scale dependent sizes.
public CIMScaleDependentSizeVariation[] ScaleDependentSizeVariation { get; set; }
Property Value
StylePath
Gets or sets the style path. Reserved for future use.
public string StylePath { get; set; }
Property Value
Symbol
Gets or sets the symbol.
public CIMSymbol Symbol { get; set; }
Property Value
SymbolName
Gets or sets the symbol name.
public string SymbolName { get; set; }
Property Value
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
jsonstringThe JSON string containing the CIMSymbolReference state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMSymbolReference and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.