Class CIMMaplexRotationProperties
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
AlignLabelToAngle
Gets or sets a value indicating whether or not to align the label to the angle.
public bool AlignLabelToAngle { get; set; }
Property Value
AlignmentType
Gets or sets the alignment type.
public MaplexRotationAlignmentType AlignmentType { get; set; }
Property Value
Enable
Gets or sets a value indicating whether to enable rotation.
public bool Enable { get; set; }
Property Value
PerpendicularToAngle
Gets or sets a value indicating whether to place the label perpendicular to the angle.
public bool PerpendicularToAngle { get; set; }
Property Value
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
RotationField
Gets or sets the rotation field to get values from.
public string RotationField { get; set; }
Property Value
RotationType
Gets or sets the rotation type.
public MaplexLabelRotationType RotationType { get; set; }
Property Value
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
jsonstringThe JSON string containing the CIMMaplexRotationProperties state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMaplexRotationProperties and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.