摘要:FrameworkApplication.SetCurrentToolAsync("esri_mapping_selectByRectangleTool"); // or use ICommand.Execute ICommand cmd = FrameworkApplication.GetPlug
阅读全文
摘要:/* Copyright 2018 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License
阅读全文
摘要:ESRIwiki文档:https://github.com/esri/arcgis-pro-sdk/wiki#requirements ArcGIS Pro帮助文档:http://pro.arcgis.com/zh-cn/pro-app/sdk/ ArcGIS Pro API参考:http://pr
阅读全文
摘要:获得一个的要素的数据库: Geodatabase gdb = featureLayer.GetFeatureClass().GetDatastore() as Geodatabase; 表 var id = row.GetTable().GetID(); 打开数据库 Geodatabase file
阅读全文
摘要:// Add text for title Coordinate2D titleTxt_ll = new Coordinate2D(4.5, 9.5); CIMTextSymbol arial36bold = SymbolFactory.Instance.ConstructTextSymbol(Co
阅读全文
摘要:/* Copyright 2019 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License
阅读全文
摘要:var oidName = featureClass.GetDefinition().GetObjectIDField();
阅读全文
摘要:var in_table = main_lyr; var out_table = Path.Combine(Project.Current.DefaultGeodatabasePath, GVar.FtrLyr + " Results"); var statistics_fields = [["Sh
阅读全文
摘要:if (MapView.Active.GetSelectedLayers().Count != 1) { ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("One feature layer must be selected in the Conte
阅读全文
摘要:var featLayer = MapView.Active.GetSelectedLayers().First() as FeatureLayer; QueuedTask.Run(() => { List<FieldDescription> pFieldList = featLayer.GetFi
阅读全文
摘要:public static void ApplySymbol(string symbolChoice) { QueuedTask.Run(() => { // Check for an active 2D mapview, if not, then prompt and exit. if (MapV
阅读全文
摘要:var styles = Project.Current.GetItems<StyleProjectItem>(); foreach (StyleProjectItem pitem in styles) { MessageBox.Show(pitem.Name + ":" + pitem.ID +
阅读全文
摘要:Notification notification = new Notification(); protected override void OnClick() { //ApplySymbol("graduated color"); try { if (Project.Current == nul
阅读全文
摘要:foreach (DockPane Pane in FrameworkApplication.DockPaneManager.DockPanes) { MessageBox.Show(Pane.Caption+":"+Pane.TabText+":"+Pane.Tooltip+":"+Pane.To
阅读全文
摘要:<toolPalette refID="esri_mapping_newMapPalette" /> 新建地图和 <button refID="esri_core_saveProjectButton" /> 保存工程 <button refID="esri_core_saveProjectAsBut
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Core.CIM; using ArcGI
阅读全文
摘要:https://developers.arcgis.com/labs/pro/build-a-map-layout/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using
阅读全文
摘要:ProConcepts Editing Annotation Jump to bottom uma2526 edited this page on 6 Feb · 8 revisions This concepts document covers special considerations for
阅读全文
摘要:1 string customStyleToAdd = @"F:\2020book\toolforpro\MyProject3\ed-fh.stylx"; 2 //AsyncMethod(customStyleToAdd); 3 4 5 StyleProjectItem style = Projec
阅读全文