Enum DistanceUnit
Units describing various ways you can measure lengths.
public enum DistanceUnit
Fields
Arpent = 14Arpent
Chain = 9Chain
Feet = 1Feet
Furlong = 12Furlong
Inch = 7Inch
Kilometer = 2Kilometer
Link = 8Link
Meter = 0Meter
Mile = 3Mile
NauticalMile = 6Nauticalmile
Pole = 10Pole
Rod = 11Rod
UsSurveyFeet = 4US Survey Feet
Vara = 13Vara
Yard = 5Yard
Remarks
Length units are most commonly used when calling APIs that measure lengths. Regardless of the unit of measure your shapes are in, many of our APIs allow you to specify what unit of measure you want the result of the method call to be in. For example, you may have a LineShape whose points are in decimal degrees; however, you want to know the length in miles. This is easy to accomplish. Simply call the GetLength method on the LineShape, passing in the first parameter of decimal degrees (which defines what unit the shape is in), and then miles as the length unit you would like the result to be in.