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. |
Product Availability
Remarks
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.