Show / Hide Table of Contents

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
BarrierWeight
BarrierWeight

Applies to

TargetVersions
.NET Standard 2.0100.14 - 200.7
.NET100.14 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.7
In This Article
Back to top Copyright © 2022 Esri.