Label layers are created automatically on demand by the IlvMapLabeler property installed on the
manager when the LABEL_ATTRIBUTE style attribute is changed on a
registered layer.
The IlvMapLabelStyle class
The IlvMapLabelStyle class is used by the IlvMapAreaLabel, IlvMapLineLabel and IlvMapPointLabel classes, and controls the
labeling parameters:
Property
name |
Content |
---|---|
FOREGROUND |
The
Color
used to display labels.
|
LABEL_FONT |
The
Font
of the labels.
|
LABEL_STROKE |
The
Stroke
object used to display label outlines (not visible to users).
|
OUTLINE_COLOR |
The
Color
of the label outline.
|
DRAW_OUTLINE |
Boolean
indicating whether the outline is displayed.
|
LABELLING_SMALL_AREAS |
Boolean
indicating whether areas too small to enclose their label are
labeled.
|
FOLLOW_PATH |
Boolean
indicating whether labels on polygons follow those polygons
or are placed horizontally.
|