Class CIMMarkerGraphic
Represents a marker graphic which is used to define vector graphics in a vector marker.
public class CIMMarkerGraphic : CIMObject
- Inheritance
-
CIMMarkerGraphic
- Inherited Members
Constructors
CIMMarkerGraphic()
public CIMMarkerGraphic()
Properties
Geometry
Gets or sets the geometry of the marker.
public IGeometry Geometry { get; set; }
Property Value
PrimitiveName
Gets or sets the primitive name.
public string PrimitiveName { get; set; }
Property Value
Symbol
Gets or sets the symbol used to draw the marker graphic, can be a point, line, polygon, or text symbol.
public CIMSymbol Symbol { get; set; }
Property Value
TextString
Gets or sets the text that is defined within the marker if drawn with a text symbol.
public string TextString { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerGraphic with a specified state from a JSON encoding.
public static CIMMarkerGraphic FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerGraphic state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerGraphic and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.