//工具条中心缩小 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(); }
public override void OnClick() { ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomOutFixedCommandClass();//地图放大 command.OnCreate(m_mapControl.Object); command.OnClick(); }
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; }
public override void OnClick() { ICommand command = new ESRI.ArcGIS.Controls.ControlsMapZoomOutFixedCommandClass();//��ͼ�Ŵ� command.OnCreate(m_mapControl.Object); command.OnClick(); }