Public Sub test() Dim pMXDoc As IMxDocument Set pMXDoc = ThisDocument Dim pLatLonFormat As ILatLonFormat2 Set pLatLonFormat = New LatLonFormat With pLatLonFormat .ShowDirections = True .ShowZeroMinutes = True .ShowZeroSeconds = True End With Dim pReportUnitFormat2 As IReportUnitFormat2 Set pReportUnitFormat2 = pMXDoc pReportUnitFormat2.CoordinateReadoutUnits = esriDecimalDegrees Set pReportUnitFormat2.CoordinateReadoutLatLonFormat = pLatLonFormat End Sub
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.