//逐渐放大 public static void FixedZoomIn(AxGlobeControl _axGlobeControl) { ICommand pCommand; pCommand = new ControlsGlobeFixedZoomInCommandClass(); pCommand.OnCreate(_axGlobeControl.Object); pCommand.OnClick(); }
/// <summary> /// 放大 /// </summary> public void ZoomIn() { ICommand command = new ControlsGlobeFixedZoomInCommandClass(); command.OnCreate(mapControl.Object); command.OnClick(); mapControl.CurrentTool = command as ITool; }