This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Constants > E > esriOverposterPolygonPlacementMethod Constants (ArcObjects .NET 10.5 SDK) |
Overposter label placement methods for polygons.
Constant | Value | Description |
---|---|---|
esriAlwaysHorizontal | 0 | Place the label horizontal within polygon feature. |
esriAlwaysStraight | 1 | Place the label horizontal within polygon feature. |
esriMixedStrategy | 2 | Place the label using a mixed strategy within polygon feature. |
The esriAlwaysHorizontal option specifics that the label engine should place labels as horizontal text. The esriAlwaysStraight option specifies that the label engine should place labels as straight text with an angle determined from the shape of the polygon. The esriMixedStrategy option combines the Horizontal and Straight options with the label engine first trying to place a label horizontal followed by straight. Using the mixed strategy usually results in more placed labels as the label engine has more freedom of where to place the text. Any of these strategies can be used in cooperation with the IBasicOverposterLayerProperties4:PlaceOnlyInsidePolygon option which will only place labels if the label will fit wholly inside the polygon.