ViewLabelProperties Class

  • ViewLabelProperties
  • class Esri::ArcGISRuntime::ViewLabelProperties

    Used for specifying labeling properties on the MapView. More...

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

    Public Functions

    ViewLabelProperties()
    ViewLabelProperties(bool animationEnabled, bool labelingEnabled)
    ViewLabelProperties(const Esri::ArcGISRuntime::ViewLabelProperties &other)
    ViewLabelProperties(Esri::ArcGISRuntime::ViewLabelProperties &&other)
    ~ViewLabelProperties()
    bool isAnimationEnabled() const
    bool isLabelingEnabled() const
    void setAnimationEnabled(bool enabled)
    void setLabelingEnabled(bool enabled)
    Esri::ArcGISRuntime::ViewLabelProperties &operator=(const Esri::ArcGISRuntime::ViewLabelProperties &other)
    Esri::ArcGISRuntime::ViewLabelProperties &operator=(Esri::ArcGISRuntime::ViewLabelProperties &&other)

    Detailed Description

    See also MapView.

    Member Function Documentation

    ViewLabelProperties::ViewLabelProperties()

    Default constructor. Sets both properties to true.

    ViewLabelProperties::ViewLabelProperties(bool animationEnabled, bool labelingEnabled)

    Constructor that sets the animation and labeling settings.

    • animationEnabled - Whether animation should be enabled.
    • labelingEnabled - Whether labeling should be enabled.

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

    Copy constructor from other ViewLabelProperties.

    ViewLabelProperties::ViewLabelProperties(Esri::ArcGISRuntime::ViewLabelProperties &&other)

    Move constructor from other ViewLabelProperties.

    ViewLabelProperties::~ViewLabelProperties()

    Destructor.

    bool ViewLabelProperties::isAnimationEnabled() const

    Gets whether animation is enabled.

    Returns true if animation is enabled.

    bool ViewLabelProperties::isLabelingEnabled() const

    Gets whether labeling is enabled.

    Returns true if labeling is enabled.

    void ViewLabelProperties::setAnimationEnabled(bool enabled)

    Sets whether animation is enabled.

    • enabled - Whether animation is enabled.

    See also isAnimationEnabled().

    void ViewLabelProperties::setLabelingEnabled(bool enabled)

    Sets whether labeling is enabled.

    • enabled - Whether animation is enabled.

    See also isLabelingEnabled().

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

    Assignment operator from other ViewLabelProperties.

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

    Move operator from other ViewLabelProperties.

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