ESRI.ArcGIS.ADF.IMS
Mode Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class : Mode Property




Gets or sets the ScaleBarMode.

Syntax

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

Example

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

Remarks

Used when the map units are in decimal degrees. When the mode is Geodesic, the Image Server takes into account the position on the globe when calculating the size of the scale bar symbol. When the mode is Cartesian, the Image Server uses the same calculation for the scale bar for all points on the globe. The calculation is made at the equator.

Not used with ArcMap image services.

Default is Cartesian.

See Also

© 2010 All Rights Reserved.