Click or drag to resize
LabelPosition Enumeration
Determines the label positioning behavior.

Namespace: Esri.ArcGISRuntime.Layers
Assembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 10.2.7.0 (10.2.7.1234)
Syntax
public enum LabelPosition
Members
  Member nameValueDescription
FixedPositionOrRemove0 Fixed position or remove
FixedPositionWithOverlaps1 Fixed position with overlaps
RepositionOrRemove2 Reposition or remove
Remarks

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.

See Also
Supported Platforms
This type is supported on the following ArcGIS Runtime .NET SDK platforms:
Windows Desktop
Windows Phone
Windows Store
Additional Examples
Hyperlink to ExampleDescription
FeatureLayer_LabelingDemonstrates labeling highway names in a FeatureLayer.
GraphicsLayer_LabelingDemonstrates labeling city names where two AttributeLabelClass'es are used (one for smaller cities and one for larger ones).