Array of descriptive names for the values in AreaUnits enumeration. See AreaUnits for an example of using AreaUnitNames to retrieve a descriptive name for a returned area unit.
Namespace:
ESRI.ArcGIS.VE(in ArcGISVE.exe)
Syntax
| JScript |
|---|
function get AreaUnitNames () : array<String>[]()[] function set AreaUnitNames (value : array<String>[]()[]) |
Remarks
By default, the names are in English: "Square Meters","Square Feet","Square Kilometers","Square Miles","Acres","Hectares".
To change the values (to use for another language, to use abbreviations, etc.),
define a new array for the property, for example:
Copy
The number of names in the array must match the number of items in the AreaUnits enumeration.
geomService.AreaUnitNames = ["sqm","sqft","km","sqmi","ac","h"];
For an example of using AreaUnitNames to retrieve the descriptive name for an AreaUnit, see the sample "Measure the length of a polyline" in the "Work with Geometry" section of the Interactive SDK.
