Example #1
0
 //逐级缩小
 public static void FixedZoomOut(AxGlobeControl _axGlobeControl)
 {
     ICommand pCommand;
     pCommand = new ControlsGlobeFixedZoomOutCommandClass();
     pCommand.OnCreate(_axGlobeControl.Object);
     pCommand.OnClick();
 }
Example #2
0
        /// <summary>
        /// 缩小
        /// </summary>
        public void ZoomOut()
        {
            ICommand command = new ControlsGlobeFixedZoomOutCommandClass();

            command.OnCreate(mapControl.Object);
            command.OnClick();
            mapControl.CurrentTool = command as ITool;
        }
Example #3
0
        //逐级缩小
        public static void FixedZoomOut(AxGlobeControl _axGlobeControl)
        {
            ICommand pCommand;

            pCommand = new ControlsGlobeFixedZoomOutCommandClass();
            pCommand.OnCreate(_axGlobeControl.Object);
            pCommand.OnClick();
        }