This list contains entries for some of the basic Distance units. Used, for example, when calling the Lengths or AreasAndLengths methods of Geometry.
Namespace:
ESRI.ArcGIS.VE(in ArcGISVE.exe)
Syntax
| JScript |
|---|
enum DistanceUnits |
Members
| Member name | Description | |
|---|---|---|
| Meters | ||
| Feet | ||
| Kilometers | ||
| Miles |
Remarks
The values are numeric and and can be used as index values for items in
the DistanceUnitNames array of a Geometry instance. By default, the names
are in English. To change the values (to use for another language or to use abbreviations),
define a new array for the property, for example:
Copy
geomService.DistanceUnitNames = ["m","ft","km","mi"];
