Skip To Content ArcGIS for Developers Sign In Dashboard

KmlLabelStyle Class


A KML label style object. More...

Header: #include <KmlLabelStyle>
Since: Esri::ArcGISRuntime 100.7
Inherits: KmlColorStyle

Public Functions

KmlLabelStyle(const QColor &labelColor, double scale, QObject *parent = nullptr)
double scale() const
void setScale(double scale)

Additional Inherited Members

Detailed Description

A KML label style object.

Controls how the name of a KmlNode is displayed. Corresponds to a KmlLabelStyle in a KML document. Controls the color and scale of the name label.

Member Function Documentation

KmlLabelStyle::KmlLabelStyle(const QColor &labelColor, double scale, QObject *parent = nullptr)


Creates a label style with the specified color and scale. *

labelColor Color of the line. scale Scale of the line. parent Parent object of label style.



double KmlLabelStyle::scale() const

Returns the KmlLabelStyle's scale.

See also setScale().

void KmlLabelStyle::setScale(double scale)

Sets the KmlLabelStyle's scale.

scale New value for scale.

See also scale().

Feedback on this topic?