Show / Hide Table of Contents

Enum LabelMultipartStrategy

The strategy for the number of labels to be placed on a multi-part feature.

Namespace: Esri.ArcGISRuntime.Mapping.Labeling
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum LabelMultipartStrategy

Fields

Name Description
Automatic

Labeling will use the default distribution of labels across multi-part features.

This depends on Feature type:

  • Polygon labels will use LabelLargest.
  • Point and Line labels will use LabelPerPart.

LabelLargest

If a feature consists of multiple parts, only the largest one will be assigned a label.

If a line feature consists of multiple part geometries, or a polygon feature consists of multiple ring geometries, only the largest one will be assigned a label.

If the largest part of the feature is not currently visible on the GeoView, then the label will not be visible. It will not automatically move to the largest visible part.

LabelPerFeature

One label per feature (not supported in this API).

The intended use is to place one label to represent each feature, even if the feature is made up of multiple parts. For example, a single label is placed at the center of a group of point parts, not necessarily at the position of any individual part.

This value can be set when labeling is authored in ArcGIS Pro, but is not supported yet in this API. If used, the placement will be as for LabelPerPart.

LabelPerPart

If a feature consists of multiple geometries, each geometry will be assigned a label.

If a line feature consists of multiple line geometries, or a polygon feature consists of multiple ring geometries, each geometry will be assigned a label.

LabelPerSegment

One label per segment (not supported in Runtime yet).

The intended use is to place a label on each segment of each line geometry.

This value can be set when labeling is authored in ArcGIS Pro, but is not supported yet in this API. If used, the placement with be as for LabelPerPart.

See Also
MultipartStrategy

Applies to

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