Provides access to members that control the placement of labels relative to features using conflict detection.
Manages settings that control the placement of dynamic labels and feature-linked annotation relative to features. This interface manages generic settings that apply to all feature geometry types (point, line, and polygon). This interface also manages, or provides access to other objects that manage, placement properties that are used only when labeling or annotating a specific feature geometry type.
| Description | ||
|---|---|---|
![]() |
BufferRatio | Label buffer ratio. A value of 1 means a buffer the size of the label height. |
![]() |
FeatureType | Feature type. |
![]() |
FeatureWeight | Barrier weighting for features in the layer. |
![]() |
GenerateUnplacedLabels | Indicates if unplaced labels are generated. |
![]() |
LabelWeight | Barrier weighting for labels in the layer. |
![]() |
LineLabelPlacementPriorities | Line label placement position priority options. |
![]() |
LineLabelPosition | Line label placement position options. |
![]() |
LineOffset | Offset in map units at which labels will be placed away from line features. |
![]() |
MaxDistanceFromTarget | Maximum distance in map units the label is allowed to be away from the feature. |
![]() |
NumLabelsOption | Feature labeling option for the layer. |
![]() |
PerpendicularToAngle | Indicates whether the label should be drawn perpendicular to the angle. |
![]() |
PointPlacementAngles | Point label placement angle(s). |
![]() |
PointPlacementMethod | Point label placement method. |
![]() |
PointPlacementOnTop | Indicates if point labels are placed on top of features. |
![]() |
PointPlacementPriorities | Point label placement position priority options. |
![]() |
RotationField | The attribute field that contains the label angle. |
![]() |
RotationType | Defines the format is the rotation field in. |
| CoClasses and Classes | Description |
|---|---|
| BasicOverposterLayerProperties | Controls the placement of labels or symbols relative to features using conflict detection. |
The following example is a code excerpt that shows how to get a reference to a layer's IBasicOverposterLayerProperties3 in an ArcMap VBA session.
Dim pMxDoc As IMxDocument
Set pMxDoc = ThisDocument
Dim pFL As IFeatureLayer
Set pFL = pMxDoc.ActiveView.FocusMap.Layer(0)
'get AnnotateLayerPropertiesCollection from GeoFeatureLayer
Dim pGeoFL As IGeoFeatureLayer
Set pGeoFL = pFL
Dim pAnnoLayerPropsColl As IAnnotateLayerPropertiesCollection
Set pAnnoLayerPropsColl = pGeoFL.AnnotationProperties
'get the (first) AnnotateLayerProperties property set in the collection
Dim pAnnoLayerProps As IAnnotateLayerProperties
pAnnoLayerPropsColl.QueryItem 0, pAnnoLayerProps, Nothing, Nothing
'get the LabelEngineLayerProperties
Dim pLabelEngineLayerProps As ILabelEngineLayerProperties
Set pLabelEngineLayerProps = pAnnoLayerProps
'get the BasicOverposterLayerProperties
Dim pBasicOverposterLayerProps3 As IBasicOverposterLayerProperties3
Set pBasicOverposterLayerProps3 = pLabelEngineLayerProps.BasicOverposterLayerProperties
MsgBox pBasicOverposterLayerProps3.BufferRatio