Class CIMCompositeTextPartPosition

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

Represents the text part position properties on a callout part.

public class CIMCompositeTextPartPosition : CIMObject
Inheritance
CIMCompositeTextPartPosition
Inherited Members

Constructors

CIMCompositeTextPartPosition()

public CIMCompositeTextPartPosition()

Properties

HorizontalAlignment

Gets or sets the horizontal alignment of the text part.

public HorizontalAlignment HorizontalAlignment { get; set; }

Property Value

HorizontalAlignment

IsPartWithinCalloutBox

Gets or sets a value indicating whether the text part will be contained within the main callout. If this is set to true, the main callout will expand to encompass this text part, and a line will be draw separating the part from the rest of the callout. This line will have the same symbol as the callout outline and will only draw if the text part is above or below the top and bottom margins of the middle text.

public bool IsPartWithinCalloutBox { get; set; }

Property Value

bool

SplitOffset

Gets or sets the split offset of the text part. This determines how much of a gap there is between the callout border and any part of the text part intersecting the border If this is set to wider than the callout width, none of the associated callout line will draw.

public double SplitOffset { get; set; }

Property Value

double

VerticalAlignment

Gets or sets the vertical alignment of the text part.

public VerticalAlignment VerticalAlignment { get; set; }

Property Value

VerticalAlignment

XOffset

Gets or sets the X offset of the text part.

public double XOffset { get; set; }

Property Value

double

YOffset

Gets or sets the Y offset of the text part.

public double YOffset { get; set; }

Property Value

double

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMCompositeTextPartPosition state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMCompositeTextPartPosition

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string