其他分享
首页 > 其他分享> > ArcGIS Pro执行矩形选择

ArcGIS Pro执行矩形选择

作者:互联网

FrameworkApplication.SetCurrentToolAsync("esri_mapping_selectByRectangleTool");

          // or use ICommand.Execute
          ICommand cmd = FrameworkApplication.GetPlugInWrapper("esri_mapping_selectByRectangleTool") as ICommand;
          if ((cmd != null) && cmd.CanExecute(null))
            cmd.Execute(null);

 FrameworkApplication.ActivateTab("esri_mapping_insertTab");

来自:https://github.com/Esri/arcgis-pro-sdk/blob/master/Examples/Framework/ProSnippets.cs

标签:ICommand,null,FrameworkApplication,Pro,cmd,mapping,ArcGIS,矩形,esri
来源: https://www.cnblogs.com/gisoracle/p/12517402.html