A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-arcadelabelexpression.html below:

ArcadeLabelExpression Class | ArcGIS Maps SDK for Qt

  • ArcadeLabelExpression
  • class Esri::ArcGISRuntime::ArcadeLabelExpression

    An expression script using the Arcade language. More...

    Public Functions Detailed Description

    The Arcade label expression property must contain a syntactically correct Arcade script expression. An example expression that combines text with a field value is:

    "State: " + $feature.State_Name

    Note that quotes are needed around the literal text. See ArcGIS Arcade for full documentation on the Arcade scripting language and its function library.

    Any Arcade functions allowed for the Labeling profile can be used in a label arcade expression. Other functions (for example, FeatureSet functions) are potentially too slow to be used in a dynamic label evaluation.

    Note: If the expression attempts to use attributes that 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.

    Relevant samples:

    Member Function Documentation [explicit] ArcadeLabelExpression::ArcadeLabelExpression(QObject *parent = nullptr)

    Creates a label arcade expression with an empty expression script.

    An empty script is a valid Arcade expression that will evaluate to an empty string.

    [explicit] ArcadeLabelExpression::ArcadeLabelExpression(Esri::ArcGISRuntime::ArcadeExpression *arcadeExpression, QObject *parent = nullptr)

    Creates a label arcade expression object using the ArcadeExpression::expression.

    The expression is expected to be a complete, self-contained Arcade script that calculates a text string.

    [explicit] ArcadeLabelExpression::ArcadeLabelExpression(const QString &arcadeString, QObject *parent = nullptr)

    Creates a label arcade expression object with a specified Arcade expression script.

    The expression is expected to be a complete, self-contained Arcade expression.

    [override virtual noexcept] ArcadeLabelExpression::~ArcadeLabelExpression()

    Destructor.

    Esri::ArcGISRuntime::ArcadeExpression *ArcadeLabelExpression::arcadeExpression() const

    Returns an ArcadeExpression containing the Arcade expression script to use.

    The expression is expected to be a complete, self-contained Arcade script that calculates a text string.

    The ArcadeExpression::expression property of arcadeExpression is the same script string as LabelExpression::expression. Changing one will change the other.

    See also setArcadeExpression().

    void ArcadeLabelExpression::setArcadeExpression(Esri::ArcGISRuntime::ArcadeExpression *arcadeExpression)

    Sets the arcadeExpression to arcadeExpression.

    See also arcadeExpression.


    RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4