This document is archived and information here might be outdated.  Recommended version.


esriScaleBarPos Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

esriScaleBarPos Constants

Scale bar unit label positioning options.

Constant Value Description
esriScaleBarAbove 0 Above bar and labels (centered).
esriScaleBarBeforeLabels 1 Before labels.
esriScaleBarAfterLabels 2 After labels.
esriScaleBarBeforeBar 3 Before bar.
esriScaleBarAfterBar 4 After bar.
esriScaleBarBelow 5 Below bar and labels.
esriScaleBarAboveLeft 6 Above bar and labels (left aligned).
esriScaleBarAboveRight 7 Above bar and labels (right aligned).
esriScaleBarAboveEnds 8 Above bar and labels (label both left and right ends).
esriScaleBarBeforeAndAfterLabels 9 Label both right and left ends before and after labels.
esriScaleBarBeforeAndAfterBar 10 Label both right and left ends before and after bar.
esriScaleBarBelowLeft 11 Below bar and labels (left aligned).
esriScaleBarBelowRight 12 Below bar and labels (right aligned).
esriScaleBarBelowEnds 13 Below bar and labels (label both left and right ends).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.