![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
ScaleBarUnits Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : ScaleBarUnits Property |
Visual Basic (Declaration) | |
---|---|
Public Property ScaleBarUnits As ScaleBarUnits |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ScaleBar Dim value As ScaleBarUnits instance.ScaleBarUnits = value value = instance.ScaleBarUnits |
C# | |
---|---|
public ScaleBarUnits ScaleBarUnits {get; set;} |
For an example of using scalebars, see the ScaleBar overview.
ScaleBarUnits determines the units displayed on the map for the scalebar. For example, if set to Kilometers, the text adjacent to the scalebar will give the length of the scalebar in kilometers.
See remarks in the ScaleBar Class overview for information on how scalebar length is determined.
Default is Miles.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family