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

    Public Functions

    LabelingInfo()
    LabelingInfo(const Esri::ArcGISRuntime::LabelingInfo &other)
    LabelingInfo(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
    Esri::ArcGISRuntime::LabelingInfo &operator=(const Esri::ArcGISRuntime::LabelingInfo &other)
    Esri::ArcGISRuntime::LabelingInfo &operator=(Esri::ArcGISRuntime::LabelingInfo &&other)

    Detailed Description

    Member Function Documentation

    LabelingInfo::LabelingInfo()

    Default constructor. Creates an empty LabelingInfo.

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

    Copy constructor from other LabelingInfo.

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

    Move constructor 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.

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

    Assignment operator from other LabelingInfo.

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

    Move operator from other LabelingInfo.

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