Example #1
0
        //平移工具
        public static void PanGlobe(AxGlobeControl _axGlobeControl)
        {
            ICommand pCommand;

            pCommand = new ControlsGlobePanToolClass();
            pCommand.OnCreate(_axGlobeControl.Object);
            _axGlobeControl.CurrentTool = (ITool)pCommand;
        }
Example #2
0
 //平移工具
 public static void PanGlobe(AxGlobeControl _axGlobeControl)
 {
     ICommand pCommand;
     pCommand = new ControlsGlobePanToolClass();
     pCommand.OnCreate(_axGlobeControl.Object);
     _axGlobeControl.CurrentTool = (ITool)pCommand;
 }