Public Sub ZoomToAllSelectedFeatures() ' Zoom to selection by calling standard tool Dim pCmdItem As ICommandItem Dim pUID As New UID pUID.Value = "{AB073B49-DE5E-11D1-AA80-00C04FA37860}" Set pCmdItem = ThisDocument.CommandBars.Find(pUID) pCmdItem.Execute End Sub
Dim pMap As IMap Dim pmxDoc As IMxDocument Set pmxDoc = ThisDocument Set pMap = pmxDoc.FocusMap pMap.MapScale = 10000
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.