Class CIMMaplexLabelStackingProperties

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

Represents Maplex label stacking properties.

public class CIMMaplexLabelStackingProperties : CIMObject
Inheritance
CIMMaplexLabelStackingProperties
Inherited Members

Constructors

CIMMaplexLabelStackingProperties()

public CIMMaplexLabelStackingProperties()

Properties

MaximumNumberOfCharsPerLine

Gets or sets the maximum number of characters per line.

public int MaximumNumberOfCharsPerLine { get; set; }

Property Value

int

MaximumNumberOfLines

Gets or sets the maximum number of lines.

public int MaximumNumberOfLines { get; set; }

Property Value

int

MinimumNumberOfCharsPerLine

Gets or sets the minimum number of characters per line.

public int MinimumNumberOfCharsPerLine { get; set; }

Property Value

int

PreferToStackLongLabels

Gets or sets a value indicating whether to prefer to stack long labels.

public bool PreferToStackLongLabels { get; set; }

Property Value

bool

Separators

Gets or sets the stacking separators.

public CIMMaplexStackingSeparator[] Separators { get; set; }

Property Value

CIMMaplexStackingSeparator[]

StackAlignment

Gets or sets the stacking alignment.

public MaplexStackingAlignment StackAlignment { get; set; }

Property Value

MaplexStackingAlignment

TrimStackingSeparators

Gets or sets a value indicating whether leading and trailing stacking separators are trimmed from the label string.

public bool TrimStackingSeparators { get; set; }

Property Value

bool

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMMaplexLabelStackingProperties state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMMaplexLabelStackingProperties

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string