IScaleBar.Units Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IScaleBar.Units Property

The units reported.

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

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.


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