Abstract base class for the different types of expressions that can be used to create label text. More...
Public Functions Member Function Documentation[override virtual noexcept]
LabelExpression::~LabelExpression()
Destructor.
[since Esri::ArcGISRuntime 200.1]
Esri::ArcGISRuntime::LabelExpression *LabelExpression::clone(QObject *parent = nullptr) const
Clones the LabelExpression to a new instance with an optional parent.
Returns a new instance of the current LabelExpression.
This function was introduced in Esri::ArcGISRuntime 200.1.
QString LabelExpression::expression() constReturns 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.
Note: 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 an empty value, which can form part of the produced text label.
See also setExpression().
Esri::ArcGISRuntime::LabelExpressionType LabelExpression::labelExpressionType() constReturns the type of the label expression.
The type specifies which language interpreter should be used to read and evaluate the expression. The object type is determined by which concrete subclass has been set into the label expression property.
See also LabelExpressionType.
void LabelExpression::setExpression(const QString &expression)Sets the expression to expression.
See also expression.
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