ESRI.ArcGIS.ADF.IMS
LengthUnits Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : LengthUnits Property




Gets or sets the units used to determine the length of the scale bar.

Syntax

Visual Basic (Declaration) 
Public Property LengthUnits As ScaleBarLengthUnits
Visual Basic (Usage)Copy Code
Dim instance As ScaleBar
Dim value As ScaleBarLengthUnits
 
instance.LengthUnits = value
 
value = instance.LengthUnits
C# 
public ScaleBarLengthUnits LengthUnits {get; set;}

Example

For an example of using scalebars, see the ScaleBar overview.

Remarks

The scalebar length can be specified either in terms of screen pixels or in terms of map distance. Use LengthUnits to set the units to either screen or map units, and then set the distance with Length. See remarks in the ScaleBar Class overview for information on how scalebar length is determined.

Requirements

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

See Also

© 2011 All Rights Reserved.