Class CIMBackgroundCallout
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
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
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
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
jsonstringThe JSON string containing the CIMBackgroundCallout state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMBackgroundCallout and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.