Class LabelingInfo
Defines the text, appearance and position of labels for features for a given scale range.
Inheritance
Namespace: Esri.ArcGISRuntime.ArcGISServices
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LabelingInfo
Remarks
A LabelingInfo describes a class of labels.
Each LabelingInfo specifies:
- Which features are covered by the definition, by applying the Where SQL constraint.
- What text should be displayed, based on the individual feature's attributes and the LabelExpression formula.
- where the text should appear, with respect to its feature, using the LabelPlacement.
LabelingInfo describes a very limited subset of the LabelDefinition properties.
Properties
Name | Description |
---|---|
LabelExpression | Gets the simple expression describing how to build the text label for a feature, often using attributes of the feature. |
LabelPlacement | Gets the preferred position of the text label, with respect to its feature geometry. |
MaxScale | Gets the largest viewing scale at which labels should be visible. If set, labels will disappear when the view is zoomed in beyond the maximum scale. |
MinScale | Gets the smallest viewing scale at which labels should be visible. If set, labels will disappear when the view is zoomed out beyond the minimum scale. |
UseCodedValues | Gets a value indicating whether label should use coded values. |
Where | Gets the where clause used to filter which features will be labeled. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |