Exemple #1
0
 //逐渐放大
 public static void FixedZoomIn(AxGlobeControl _axGlobeControl)
 {
     ICommand pCommand;
     pCommand = new ControlsGlobeFixedZoomInCommandClass();
     pCommand.OnCreate(_axGlobeControl.Object);
     pCommand.OnClick();
 }
Exemple #2
0
        /// <summary>
        /// 放大
        /// </summary>
        public void ZoomIn()
        {
            ICommand command = new ControlsGlobeFixedZoomInCommandClass();

            command.OnCreate(mapControl.Object);
            command.OnClick();
            mapControl.CurrentTool = command as ITool;
        }
Exemple #3
0
        //逐渐放大
        public static void FixedZoomIn(AxGlobeControl _axGlobeControl)
        {
            ICommand pCommand;

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