ArcObjects Library Reference (Carto)  

IScaleBar.Units Property

The units reported.

[Visual Basic .NET]
Public Property Units As esriUnits
[C#]
public esriUnits Units {get; set;}
[C++]
HRESULT get_Units(
  esriUnits* Units
);
[C++]
HRESULT put_Units(
  esriUnits Units
);
[C++]

Parameters

Units [out, retval]

  Units is a parameter of type esriUnits

Units [in]

  Units is a parameter of type esriUnits

Product Availability

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

Description

Units is the type of distance units (miles, kilometers, etc.) a scalebar displays the interval distances. This unit does not have to be the same as the the units of the data frame that a scalebar is associated with.

See Also

IScaleBar Interface