Skip To Content ArcGIS for Developers Sign In Dashboard

ViewLabelProperties Class

(Esri::ArcGISRuntime::ViewLabelProperties)

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

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

Public Functions

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

Detailed Description

Used for specifying labeling properties on the MapView.

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 ViewLabelProperties &other)

Copy constructor from other ViewLabelProperties.

ViewLabelProperties::ViewLabelProperties(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().

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

Assignment operator from other ViewLabelProperties.

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

Move operator from other ViewLabelProperties.


Feedback on this topic?