HOW TO
Instructions provided describe how to adjust the number of digits after the decimal place, shown in the display box at the bottom right of ArcMap.
Note:This is no longer necessary at 9.2. An option has been included under Tools > Options > Data View. Specify the number of decimal places for the Coordinate Display.
The size of the Status Bar cannot be changed. If the number of decimal places exceed the allotted space, the units may be truncated.
Code:
Sub main()
Dim pDoc As IMxDocument
Dim pRepUnit As IReportUnitFormat
Dim pNumericFormat As INumericFormat
Set pDoc = ThisDocument
Set pRepUnit = pDoc
Set pNumericFormat = New NumericFormat
With pNumericFormat
.AlignmentOption = esriAlignRight
.RoundingOption = esriRoundNumberOfDecimals
.AlignmentWidth = 15
.RoundingValue = 6
.ShowPlusSign = False
.UseSeparator = True
.ZeroPad = False
End With
Set pRepUnit.NumericFormat = pNumericFormat
End Sub
Article ID:000008839
Get help from ArcGIS experts
Download the Esri Support App