Class CIMBackgroundCallout

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

Represents a background callout which draws a callout with an optional polygon background and leader line.

public class CIMBackgroundCallout : CIMLineCallout
Inheritance
CIMBackgroundCallout
Inherited Members

Constructors

CIMBackgroundCallout()

public CIMBackgroundCallout()

Properties

AccentBarSymbol

Gets or sets the symbol used to draw the accent bar. If null, the accent bar doesn't draw.

public CIMLineSymbol AccentBarSymbol { get; set; }

Property Value

CIMLineSymbol

BackgroundSymbol

Gets or sets the symbol used to draw the background. If null, the background doesn't draw.

public CIMPolygonSymbol BackgroundSymbol { get; set; }

Property Value

CIMPolygonSymbol

Margin

Gets or sets the text margin defining the space around the text that is accounted for in background creation.

public CIMTextMargin Margin { get; set; }

Property Value

CIMTextMargin

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMBackgroundCallout state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMBackgroundCallout

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string