LabelingInfo Class

  • LabelingInfo
  • class Esri::ArcGISRuntime::LabelingInfo

    Labeling information about a sublayer of a map service or feature service. More...

    Header: #include <LabelingInfo.h>
    Since: Esri::ArcGISRuntime 100.0

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    LabelingInfo(Esri::ArcGISRuntime::LabelingInfo &&other)
    LabelingInfo(const Esri::ArcGISRuntime::LabelingInfo &other)
    LabelingInfo()
    Esri::ArcGISRuntime::LabelingInfo &operator=(Esri::ArcGISRuntime::LabelingInfo &&other)
    Esri::ArcGISRuntime::LabelingInfo &operator=(const Esri::ArcGISRuntime::LabelingInfo &other)
    ~LabelingInfo()
    bool isEmpty() const
    bool isUseCodedValues() const
    QString labelExpression() const
    Esri::ArcGISRuntime::LabelingPlacement labelPlacement() const
    double maxScale() const
    double minScale() const
    Esri::ArcGISRuntime::TextSymbol *symbol(QObject *parent = nullptr) const
    QString where() const

    Detailed Description

    Member Function Documentation

    LabelingInfo::LabelingInfo(Esri::ArcGISRuntime::LabelingInfo &&other)

    Move constructor from other LabelingInfo.

    LabelingInfo::LabelingInfo(const Esri::ArcGISRuntime::LabelingInfo &other)

    Copy constructor from other LabelingInfo.

    LabelingInfo::LabelingInfo()

    Default constructor. Creates an empty LabelingInfo.

    Esri::ArcGISRuntime::LabelingInfo &LabelingInfo::operator=(Esri::ArcGISRuntime::LabelingInfo &&other)

    Move operator from other LabelingInfo.

    Esri::ArcGISRuntime::LabelingInfo &LabelingInfo::operator=(const Esri::ArcGISRuntime::LabelingInfo &other)

    Assignment operator from other LabelingInfo.

    LabelingInfo::~LabelingInfo()

    Destructor.

    bool LabelingInfo::isEmpty() const

    Returns true if this LabelingInfo is empty.

    bool LabelingInfo::isUseCodedValues() const

    Returns true if the labeling should use coded values.

    QString LabelingInfo::labelExpression() const

    Returns the expression that specifies what text is drawn in the label.

    Esri::ArcGISRuntime::LabelingPlacement LabelingInfo::labelPlacement() const

    Returns the placement of the label.

    double LabelingInfo::maxScale() const

    Returns the maximum scale that this label class should be used.

    double LabelingInfo::minScale() const

    Returns the minimum scale that this label class should be used.

    Esri::ArcGISRuntime::TextSymbol *LabelingInfo::symbol(QObject *parent = nullptr) const

    Returns the symbol that is used for this label class.

    Note, parent is optional. If no parent is specified then the source from which this LabelingInfo comes from (ArcGISFeatureLayerInfo) takes ownership of the returned symbol.

    QString LabelingInfo::where() const

    Returns the where claused used to determine which labels appear.

    Only features that satisfy the where clause will display labels.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close