This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the relative position of line labels.
The properties of this interface correspond to the settings on the label placement properties dialog in ArcMap for line features. These properties are also used for feature-linked annotation.
Manages label placement properties for line features. For example, you can use this interface to specify whether labels can be placed above, below and/or centered on the line features being labeled.
Name | Description | |
---|---|---|
Above | Indicates if labels are placed above lines. | |
AtEnd | Indicates if labels are placed at the end of lines. | |
AtStart | Indicates if labels are placed at the start of lines. | |
Below | Indicates if labels are placed below lines. | |
Horizontal | Indicates if labels are placed horizontally. | |
InLine | Indicates if labels are placed along lines at the best position. | |
Left | Indicates if labels are placed to the left of lines. | |
Offset | Offset from the start/end of lines (in map units). | |
OnTop | Indicates if labels are placed on top of lines. | |
Parallel | Indicates if labels are placed parallel to lines. | |
Perpendicular | Indicates if labels are placed perpendicular to lines. | |
ProduceCurvedLabels | Indicates if labels follow lines. | |
Right | Indicates if labels are placed to the right of lines. |
Classes | Description |
---|---|
LineLabelPosition | Controls the relative positions of line labels. |
Not all property value combinations are valid in ArcMap, but no validation is performed by this object. This means that you can set the properties of this object to any combination of true/false and this object will not change them for you.
When labeling occurs in ArcMap, invalid property combinations on this object can create unexpected results.
Validation does occur when the ArcMap user interface is used (i.e. the label placement properties dialog). Changes applied here by the user will change the values set on the current object.
When setting properties using this interface, it is recommended that you use the ArcMap user interface logic as a guide to setting valid property combinations. Several of these rules are described here: