Class CIMVectorMarker

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

Represents a vector marker which can represent vector graphics. It's constructed from MarkerGraphics which are geometries and symbols used as building blocks for the marker.

public class CIMVectorMarker : CIMMarker
Inheritance
CIMVectorMarker
Inherited Members

Constructors

CIMVectorMarker()

public CIMVectorMarker()

Properties

ClippingPath

Gets or sets a clipping path for the vector marker graphics.

public CIMClippingPath ClippingPath { get; set; }

Property Value

CIMClippingPath

Depth3D

Gets or sets the depth of the marker when drawn in 3D.

public double Depth3D { get; set; }

Property Value

double

Frame

Gets or sets the outer boundary of the entire vector marker.

public IEnvelope Frame { get; set; }

Property Value

IEnvelope

MarkerGraphics

Gets or sets the vector graphics that define the shape of the marker.

public CIMMarkerGraphic[] MarkerGraphics { get; set; }

Property Value

CIMMarkerGraphic[]

RespectFrame

Gets or sets a value indicating whether the frame of the vector marker should be honored when drawing the marker.

public bool RespectFrame { get; set; }

Property Value

bool

ScaleSymbolsProportionally

Gets or sets a value indicating whether the strokes and or fills of a marker are scaled proportionally when the symbol size is changed.

public bool ScaleSymbolsProportionally { get; set; }

Property Value

bool

Remarks

When enabled, the strokes for the outline or fill of the polygon symbol used to draw the marker will be scaled proportionally with changes to the symbol size. If this property is not enabled, then the stroke will draw with the specified width regardless of the marker size.

VerticalOrientation3D

Gets or sets a value indicating whether the marker stands upright as though locked in place. The marker can be viewed from all angles.

public bool VerticalOrientation3D { get; set; }

Property Value

bool

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMVectorMarker state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMVectorMarker

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string