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.

    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