示例#1
0
 //逐渐放大
 public static void FixedZoomIn(AxGlobeControl _axGlobeControl)
 {
     ICommand pCommand;
     pCommand = new ControlsGlobeFixedZoomInCommandClass();
     pCommand.OnCreate(_axGlobeControl.Object);
     pCommand.OnClick();
 }
示例#2
0
文件: ToolBox.cs 项目: AnuoF/MapFrame
        /// <summary>
        /// 放大
        /// </summary>
        public void ZoomIn()
        {
            ICommand command = new ControlsGlobeFixedZoomInCommandClass();

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

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