Class CIMPictureMarker

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

Represents a picture marker created from a raster (bitmapped) image file. The image can have color substitutions to replace one or more colors in the image or it can have a tint applied to the whole image depending on the picture type. Supported formats are .bmp, .jpg, .png, and .gif.

public class CIMPictureMarker : CIMMarker
Inheritance
CIMPictureMarker
Inherited Members

Constructors

CIMPictureMarker()

public CIMPictureMarker()

Properties

AnimatedSymbolProperties

Gets or sets the collection of symbol properties that apply when the symbol layer has animation data.

public CIMAnimatedSymbolProperties AnimatedSymbolProperties { get; set; }

Property Value

CIMAnimatedSymbolProperties

ColorSubstitutions

Gets or sets the color substitutions for the picture.

public CIMColorSubstitution[] ColorSubstitutions { get; set; }

Property Value

CIMColorSubstitution[]

Depth3D

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

public double Depth3D { get; set; }

Property Value

double

InvertBackfaceTexture

Gets or sets a value indicating whether the image is right-reading when viewed from behind.

public bool InvertBackfaceTexture { get; set; }

Property Value

bool

ScaleX

Gets or sets the scale X which changes the width of the symbol without changing the height (or depth in 3D), as a ratio.

public double ScaleX { get; set; }

Property Value

double

TextureFilter

Gets or sets how the image is resampled.

public TextureFilter TextureFilter { get; set; }

Property Value

TextureFilter

TintColor

Gets or sets the color that is applied as a tint to the image. The color is applied to the whole image. When the tint is set to white the image appears with its native colors.

public CIMColor TintColor { get; set; }

Property Value

CIMColor

URL

Gets or sets the image that is used in the symbol layer. Typically a base64 encoded image.

public string URL { get; set; }

Property Value

string

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 CIMPictureMarker with a specified state from a JSON encoding.

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

Parameters

json string

The JSON string containing the CIMPictureMarker state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMPictureMarker

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string