' Declare ICommand to use ZoomToSelected tool Dim pCommand As ICommand pCommand = New ControlsZoomToSelectedCommand ' Pass the m_application as an object for the oncreate method pCommand.OnCreate(AxMapControl) pCommand.OnClick() pMxDoc.FocusMap.MapScale = 100000
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.