Class CIMMaplexRotationProperties

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

Represents Maplex rotation properties.

public class CIMMaplexRotationProperties : CIMObject
Inheritance
CIMMaplexRotationProperties
Inherited Members

Constructors

CIMMaplexRotationProperties()

public CIMMaplexRotationProperties()

Properties

AdditionalAngle

Gets or sets additional angle to add to the data value.

public int AdditionalAngle { get; set; }

Property Value

int

AlignLabelToAngle

Gets or sets a value indicating whether or not to align the label to the angle.

public bool AlignLabelToAngle { get; set; }

Property Value

bool

AlignmentType

Gets or sets the alignment type.

public MaplexRotationAlignmentType AlignmentType { get; set; }

Property Value

MaplexRotationAlignmentType

Enable

Gets or sets a value indicating whether to enable rotation.

public bool Enable { get; set; }

Property Value

bool

PerpendicularToAngle

Gets or sets a value indicating whether to place the label perpendicular to the angle.

public bool PerpendicularToAngle { get; set; }

Property Value

bool

RotationExpressionInfo

Gets or sets ExpressionInfo that contains the Arcade expression that returns rotation as a number. When both RotationField and RotationExpressionInfo are present RotationExpressionInfo is used.

public CIMExpressionInfo RotationExpressionInfo { get; set; }

Property Value

CIMExpressionInfo

RotationField

Gets or sets the rotation field to get values from.

public string RotationField { get; set; }

Property Value

string

RotationType

Gets or sets the rotation type.

public MaplexLabelRotationType RotationType { get; set; }

Property Value

MaplexLabelRotationType

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMMaplexRotationProperties state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMMaplexRotationProperties

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string