Class CIMBalloonCallout
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
BalloonStyle
Gets or sets the balloon style.
public BalloonCalloutStyle BalloonStyle { get; set; }
Property Value
DartSymbol
Gets or sets a symbol used to draw the dart.
public CIMPolygonSymbol DartSymbol { get; set; }
Property Value
FixedDartWidth
Gets or sets the dart width.
public double FixedDartWidth { get; set; }
Property Value
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
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
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
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
jsonstringThe JSON string containing the CIMBalloonCallout state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMBalloonCallout and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.