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
);
[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