Simplify ArcObjects help

09-23-2013 08:56 AM
Status: Closed
Labels (1)
Occasional Contributor III
Why does the arcObjects help have to be so cryptic? It seems to be written for people who already understand it fully. For example when I look up how to set the scalebar units, I would like it simply to say how you use it:
.Units = ESRI.ArcGIS.esriSystem.esriUnits.esriMeters;
with a sample of:
IScaleBar scalebar = scalebarStyle.Item as IScaleBar;
scalebar.Units = ESRI.ArcGIS.esriSystem.esriUnits.esriMeters;

Instead we get something that even after successfully setting the units we have no idea how the help given relates to what you actually use in Visual studio. I am sure I am missing something but it really shouldn't be that hard.
ArcObjects Library Reference (Carto)  

IScaleBar.Units Property

The units reported.

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


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

1 Comment
Status changed to: Closed

ArcMap and its help system are now in mature support.