The DistanceUnits property returns or sets the document's surface distance units. Returns a MVDistUnits.
Syntax
object.DistanceUnits
object.DistanceUnits = Units
Parameter |
Type |
Description |
Units |
required; unit type |
Example 1
This example sets the surface distance units to kilometers.
Plot.DistanceUnits = mvDistUnitKilometers
Example 2
This example returns a map document's surface distance units.
Debug.Print Plot.DistanceUnits
Used by: PlotDocument object