你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
问题
文章
话题
登录
注册
Engine中报错:Current tool will not deactivate
Engine中使用控件的CurrentTool(如IMapControl.CurrentTool时报错:Current tool will not deactivate
1 个回复
刘峥
-
ArcGIS多面手
赞同来自:
【解决办法】:
使用CurrentTool前检查上一个旧的tool是否被disabled并将新的tool设为enabled
ICommand command = new ControlsMapPanToolClass();
command.OnCreate(axMapControl1.Object);
if (command.Enabled == true)
{ axMapControl1.CurrentTool= (ITool) command;}
要回复问题请先
登录
或
注册
发起人
刘峥
ArcGIS多面手
相关问题
Engine许可使用注意事项
Engine中如何判断两个要素类的空间参考是否是同一个?
ArcGIS10.5配置data store时报错Unable to configure the ArcGIS Data Store with the GIS Server.
Engine中如何实现要素图层的反选?
按照Engine+开发手册ArcEngine_10.0_C#二次开发编写的鹰眼的代码,运行时鹰眼不显示!
用js调用portal中用户所发布的webmap并在该地图上添加点如何用代码实现,我的总是报错。。。。
今天安装完arcgis server 10.4.1,然后再arcgis datastore10.4.1配置报错!
ArcGIS Pro 创建矢量切片包时报错ERROR 001117,但已设置了元数据
Engine调用GP工具的两种方式的用法
想把ArcMap现成的工具直接在ArcGIS Engine中使用?
ESRI.ArcGIS.ADF.Connection.AGS.AGSServerConnection连接服务器时报错:没有注册类
问题状态
最新活动:
2016-08-04 00:00
浏览:
2061
关注:
1
人
1 个回复
刘峥 - ArcGIS多面手
赞同来自:
使用CurrentTool前检查上一个旧的tool是否被disabled并将新的tool设为enabled
ICommand command = new ControlsMapPanToolClass();
command.OnCreate(axMapControl1.Object);
if (command.Enabled == true)
{ axMapControl1.CurrentTool= (ITool) command;}
要回复问题请先登录或注册