![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
LengthUnits Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : LengthUnits Property |
Visual Basic (Declaration) | |
---|---|
Public Property LengthUnits As ScaleBarLengthUnits |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ScaleBar Dim value As ScaleBarLengthUnits instance.LengthUnits = value value = instance.LengthUnits |
C# | |
---|---|
public ScaleBarLengthUnits LengthUnits {get; set;} |
For an example of using scalebars, see the ScaleBar overview.
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.
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