Determines the label positioning behavior.
Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 10.2.7.0 (10.2.7.1234)
public enum LabelPosition
Public Enumeration LabelPosition
Fixed position or remove
Fixed position with overlaps
Reposition or remove
The labeling algorithm attempts to place as many labels as possible based on the properties specified for the AttributeLabelClass.
The default behavior, optimized for performance, will only try to place the label at the default/specified
LabelPlacement value or not to place the label at all if a conflict is found.
This default option is FixedPositionOrRemove.
The option which will result in more labels being placed, but is more expensive to calculate, is
RepositionOrRemove where the labeling algorithm will attempt multiple
placement values around the geometry before removing it if it cannot be placed without a conflict.
In order to force all labels to be placed you must use the FixedPositionWithOverlaps.
|This type is supported on the following ArcGIS Runtime .NET SDK platforms:|
|Hyperlink to Example||Description|
|FeatureLayer_Labeling||Demonstrates labeling highway names in a FeatureLayer.|
|GraphicsLayer_Labeling||Demonstrates labeling city names where two AttributeLabelClass'es are used (one for smaller cities and one for larger ones).|