• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

gisoracle

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

随笔分类 -  ArcGIS Pro二次开发

上一页 1 2 3 4 5 6 7 8 9 10 下一页

ArcGIS Pro二次开发
ArcGIS Pro SelectAllFeatureLayersInTOC
摘要:public void SelectAllFeatureLayersInTOC() { //Get the active map view. var mapView = MapView.Active; if (mapView == null) return; //Zoom to the select 阅读全文

posted @ 2020-04-05 23:16 gisai 阅读(256) 评论(0) 推荐(0)

ArcGIS Pro自己做一个弹出菜单
摘要:public void ShowCustomPopup() { //Get the active map view. var mapView = MapView.Active; if (mapView == null) return; //Create custom popup content va 阅读全文

posted @ 2020-04-05 23:12 gisai 阅读(448) 评论(0) 推荐(0)

ArcGIS Pro关闭窗口和退出
摘要:FrameworkApplication.Close(); FrameworkApplication.Panes.CloseAllPanes(); 阅读全文

posted @ 2020-04-05 21:05 gisai 阅读(906) 评论(0) 推荐(0)

AddOverlay
摘要:public MapTool1() { IsSketchTool = true; SketchType = SketchGeometryType.Line; SketchOutputMode = SketchOutputMode.Map; } protected override Task OnTo 阅读全文

posted @ 2020-04-05 17:23 gisai 阅读(554) 评论(0) 推荐(0)

ArcGIS Pro固定纸张限定比例尺自动调整纵横打印
摘要:ArcGIS Pro固定纸张限定比例尺自动调整纵横打印 阅读全文

posted @ 2020-04-04 21:04 gisai 阅读(1032) 评论(0) 推荐(0)

ArcGIS pro增加一个独立表到地图
摘要:var insTbl; await QueuedTask.Run(()=> { using (Geodatabase geodatabase = new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(gPath)))) { using ( 阅读全文

posted @ 2020-04-03 23:11 gisai 阅读(540) 评论(0) 推荐(0)

ArcGIS Pro How to remove standalone table from contents
摘要:try{ var mapView = MapView.Active; if (mapView != null) { var map = mapView.Map; if (map != null) { foreach (StandaloneTable table in map.StandaloneTa 阅读全文

posted @ 2020-04-03 22:43 gisai 阅读(271) 评论(0) 推荐(0)

ArcGIS Pro的进度条
摘要:protected override async void OnClick(){ using (var progress = new ProgressDialog("Showing Progress", "Canceled", 100, false)) { var status = new Canc 阅读全文

posted @ 2020-04-03 22:36 gisai 阅读(867) 评论(0) 推荐(0)

CreatePolygonGraphicElement
摘要:QueuedTask.Run( () => { var layout = Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault().GetLayout(); var element = layout.Elements.OfType< 阅读全文

posted @ 2020-04-03 22:26 gisai 阅读(495) 评论(0) 推荐(0)

Creating a Group with a List of Elements
摘要:Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault()?.GetLayout(); List<Element> elements = new List<Element>(); for (int i = 0; i < 100; i+ 阅读全文

posted @ 2020-04-03 22:22 gisai 阅读(444) 评论(0) 推荐(0)

ArcGISPro理解多线程
摘要:cGIS Pro differs markedly from existing ArcGIS for Desktop applications in that it is built with a multithreaded architecture designed to leverage mod 阅读全文

posted @ 2020-04-03 22:20 gisai 阅读(666) 评论(0) 推荐(0)

ArcGIS Pro栅格修改大小另存
摘要:System.Uri uri = new Uri("e:\\ESRI_GDB\\Southampton.gdb"); QueuedTask.Run(() => { FileGeodatabaseConnectionPath path = new FileGeodatabaseConnectionPa 阅读全文

posted @ 2020-04-03 22:13 gisai 阅读(810) 评论(0) 推荐(0)

ArcGIS pro=callout
摘要:Creates a simple line callout text symbol Creates a simple line callout text symbol. The CIMSimpleLineCallout created is a dash-dot-dash line symbol w 阅读全文

posted @ 2020-04-03 22:07 gisai 阅读(439) 评论(0) 推荐(0)

ArcGIS Pro-SetCustomFullExtent
摘要:LayoutProjectItem layoutItem = Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault(item => item.Name.Equals("Standard")); Layout layout = lay 阅读全文

posted @ 2020-04-03 21:44 gisai 阅读(358) 评论(0) 推荐(0)

ArcGIS Pro二次开发几个疑难问题
摘要:1.如何执行ExecuteSQL 2.获得一个文件夹的所有gdb 3.删除公里网 4.设置切割打印 5.获得arcgis pro的版本 6.获得所有按钮的ID 7.怎么创建注记要素 阅读全文

posted @ 2020-04-03 21:28 gisai 阅读(373) 评论(0) 推荐(0)

ArcGIS Pro获得一个要素图层一种方法
摘要:private FeatureLayer GetFeatureLayerByName(Map map, string layerName) { var featureLayers = map.GetLayersAsFlattenedList().OfType<FeatureLayer>(); for 阅读全文

posted @ 2020-04-02 20:43 gisai 阅读(566) 评论(0) 推荐(0)

ArcGIS Pro layout clone
摘要:1. Make a new layout 2. Copy the layout to be "duplicated" (this is the Clone method) 3. Replace the layout URI of the copy with the URI of the new la 阅读全文

posted @ 2020-04-02 19:42 gisai 阅读(286) 评论(0) 推荐(0)

ActiveMapViewChanged和选择变化
摘要:/Subscribe to eventArcGIS.Desktop.Framework.Events.ActivePaneChangedEvent.Subscribe(OnActivePaneChanged);private void OnActivePaneChanged(PaneEventArg 阅读全文

posted @ 2020-04-02 19:35 gisai 阅读(258) 评论(0) 推荐(0)

ArcGIS Pro 改变栅格的数据源
摘要:var rasterLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<RasterLayer>().FirstOrDefault(); QueuedTask.Run(async () => { using (Geodatabas 阅读全文

posted @ 2020-04-02 19:33 gisai 阅读(479) 评论(0) 推荐(0)

ArcGIS Pro自定义图标
摘要:来自:https://community.esri.com/thread/250077-custom-control-and-handling-images Let say in xaml <Image x:Name="ImgStatus" Grid.Column="1" Grid.Row="0" 阅读全文

posted @ 2020-04-02 19:29 gisai 阅读(847) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3