LabelingDescription

A class that represents labels defined in the layer.

Property

Type

Description

LabelClassDescriptions

LabelClassDescription[]

An array of label class description objects.

Remarks

Labeling is the placing of text near a feature to purvey information about that feature. Normally the label is based on attribute values of the feature itself, but it does not have to be. The labeling description includes the ability to specify which features are to be labeled (all features, features identified by an SQL query, and so on); the expression that is used to label them (expression can be simple or complex based on VB and Java scripting); placement options; and visibility scale.

This object is only returned when the layer's HasLabels = True.

There are basically two ways features in the layer can be labeled:

2/28/2020