SimpleLabelExpression

An expression script using the Simple REST language. The label Simple expression expects to hold a legal, Simple script and to be read and evaluated by a Simple expression interpreter. An example expression that combines text with a field value is

"State: " CONCAT State_Name

Note that quotes are needed around the literal text. See Labeling objects[https://developers.arcgis.com/documentation/common-data-types/labeling-objects.htm] for full documentation on the labelExpression syntax and functions. Warning: If the expression attempts to use attributes which don't exist then no label will be produced. This is distinct from the attribute existing but having a null or empty value, which can form part of the produced text label.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(simpleExpression: String = "")

Create a label Simple expression with a specific Simple script. The expression is expected to be a complete, self-contained Simple expression.

Inherited properties

Link copied to clipboard

The label expression script string. The expression is expected to be a complete, self-contained label expression in the language specified by the label expression subclass object. Warning: If the expression attempts to use attributes which don't exist then no label will be produced. This is distinct from the attribute existing but having a null or empty value, which can form part of the produced text label.

Functions

Link copied to clipboard
open override fun clone(): SimpleLabelExpression