Enum LabelBarrierWeight
The weight of features when considered as barriers to labeling.
Namespace: Esri.ArcGISRuntime.Mapping.Labeling
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum LabelBarrierWeight
Remarks
An AnnotationLayer or a DimensionLayer, which has no LabelDefinition of its own, can be added to a map's operational layers. Their features will be automatically considered by the labeling process, to block labels being placed overlapping the features. This LabelBarrierWeight property controls how much labels must avoid the layer's features.
Note: Other layer types, which have their own LabelDefinition, can also have their features treated as barriers, but this is controlled by their FeatureBoundaryOverlapStrategy and FeatureInteriorOverlapStrategy properties.
Fields
Name | Description |
---|---|
High | The feature is an exclusion zone for labels. Labels that overlap the feature will not be placed unless the label is using a deconfliction strategy of None or DynamicNeverRemove. |
Low | The feature will be avoided by labels unless that's the only way they can be placed. Labels will still overlap this feature if that is the only way they can be placed. |
Medium | The feature will be avoided by labels unless that's the only way they can be placed after trying some additional positions. Labels will still overlap this feature if that is the only way they can be placed. This is similar to Low, but the labeling process can try additional intermediate alternative positions. Not all styles of labeling will have additional positions to try. |
None | The feature will not act as an barrier to labels. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |