![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
LabelOccurrencePreference Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > LabelRenderer Class : LabelOccurrencePreference Property |
Visual Basic (Declaration) | |
---|---|
Public Property LabelOccurrencePreference As LabelOccurrencePreference |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As LabelRenderer Dim value As LabelOccurrencePreference instance.LabelOccurrencePreference = value value = instance.LabelOccurrencePreference |
C# | |
---|---|
public LabelOccurrencePreference LabelOccurrencePreference {get; set;} |
For an example of using this property, see the SimpleLabelRenderer overview.
- One_Label_Per_Part Labels all parts of a feature in the case of multipart features. For instance, the State of Hawaii consists of several islands, but they are grouped together as one polygon feature. Each island is labeled. Known limit: Not all parts of a feature may be labeled.
- One_Label_Per_Name Labels once per feature name. When several features share the same name, only one label is shown. For example, if there is more than one polygon with the name "Residential", only one "Residential" polygon is labeled. Known limit: You may see duplicate labels for a feature name.
- One_Label_Per_Shape Labels once per feature even if there are multiple segments. For example, the group of islands that make up Hawaii are only labeled once. If there are other features with the same name, they are also labeled. Known limit: You may see duplicate labels for a shape.
Default is One_Label_Per_Name
Known limit: this attribute may not work as expected, particularly when labeling lines or points.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family