Show / Hide Table of Contents

Enum LabelGeometryStrategy

The strategy for how to use the geometry of the feature when calculating the label position.

Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum LabelGeometryStrategy

Fields

Name Description
Automatic

Labeling will use the default LabelGeometryStrategy depending on the feature type.

This behavior depends on Feature type:

  • Polygon labels will use UseGeometry
  • Line labels will use UseClippedGeometry

UseClippedGeometry

The subset of the feature's geometry within the screen extent will be used to calculate the position of the label.

The label is more likely to be visible on-screen, if there is room. However, the label may move position as the user pans the screen and different parts of the feature geometry are used to calculate the label position.

UseGeometry

The feature's entire geometry will be used to calculate the position of the label.

This may result in a label not being visible because the preferred location is outside the extent. For example, a line label placed at the start or end of the line might be off-screen if the start or end of the feature geometry are off-screen.

See Also
GeometryStrategy

Applies to

TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.