Class CIMBalloonCallout

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

Represents a balloon callout. Balloon callouts are a filled background that is placed behind text. They may or may not have a leader line connecting the callout to an anchor point.

public class CIMBalloonCallout : CIMCallout
Inheritance
CIMBalloonCallout
Inherited Members

Constructors

CIMBalloonCallout()

public CIMBalloonCallout()

Properties

BackgroundSymbol

Gets or sets the symbol used to draw the background.

public CIMPolygonSymbol BackgroundSymbol { get; set; }

Property Value

CIMPolygonSymbol

BalloonStyle

Gets or sets the balloon style.

public BalloonCalloutStyle BalloonStyle { get; set; }

Property Value

BalloonCalloutStyle

DartSymbol

Gets or sets a symbol used to draw the dart.

public CIMPolygonSymbol DartSymbol { get; set; }

Property Value

CIMPolygonSymbol

FixedDartWidth

Gets or sets the dart width.

public double FixedDartWidth { get; set; }

Property Value

double

Margin

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

public CIMTextMargin Margin { get; set; }

Property Value

CIMTextMargin

UseDartSymbol

Gets or sets a value indicating whether the dart symbol is drawn differently to the background symbol.

public bool UseDartSymbol { get; set; }

Property Value

bool

UseFixedDartWidth

Gets or sets a value indicating whether to use a fixed size when drawing the dart symbol.

public bool UseFixedDartWidth { get; set; }

Property Value

bool

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMBalloonCallout state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMBalloonCallout

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string