Skip To Content ArcGIS for Developers Sign In Dashboard

ViewLabelProperties Class

class Esri::ArcGISRuntime::ViewLabelProperties

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

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

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

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

Detailed Description

See also MapView.

Member Function Documentation

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

Move constructor from other ViewLabelProperties.

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

Copy constructor from other ViewLabelProperties.

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()

Default constructor. Sets both properties to true.

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

Move operator from other ViewLabelProperties.

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

Assignment operator 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().


Feedback on this topic?