Ejemplo n.º 1
0
 //工具条中心缩小
 private void buttonItemZoomOutfixed_Click(object sender, EventArgs e)
 {
     ESRI.ArcGIS.SystemUI.ICommand pCommand;
     pCommand = new ESRI.ArcGIS.Controls.ControlsMapZoomOutFixedCommandClass();
     pCommand.OnCreate(MapControlLayer.Object);
     pCommand.OnClick();
 }
Ejemplo n.º 2
0
        public override void OnClick()
        {
            ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomOutFixedCommandClass();//地图放大

            command.OnCreate(m_mapControl.Object);
            command.OnClick();
        }
Ejemplo n.º 3
0
        private void toolzoomoutfixed_Click(object sender, EventArgs e)//中心缩小
        {
            ITool TempTool = this.axMapControl1.CurrentTool;

            ESRI.ArcGIS.SystemUI.ICommand pCommand = new ESRI.ArcGIS.Controls.ControlsMapZoomOutFixedCommandClass();
            pCommand.OnCreate(this.axMapControl1.Object);
            pCommand.OnClick();

            this.axMapControl1.CurrentTool = TempTool;
        }
Ejemplo n.º 4
0
 public override void OnClick()
 {
     ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomOutFixedCommandClass();//��ͼ�Ŵ�
     command.OnCreate(m_mapControl.Object);
     command.OnClick();
 }