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

gisoracle

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

公告

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 159 下一页

2022年9月20日

ArcGIS Pro 沿线飞行代码

摘要: // Copyright 2019 Esri // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the L 阅读全文

posted @ 2022-09-20 14:48 gisai 阅读(54) 评论(0) 推荐(0)

2022年9月19日

ArcGIS Pro SDK栅格颜色拉伸

摘要: protected override async void OnClick() { var rasterLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<ImageServiceLayer>().FirstOrDefault() 阅读全文

posted @ 2022-09-19 21:18 gisai 阅读(98) 评论(0) 推荐(0)

ArcGIS Pro 二次开发缓冲区代码

摘要: var valueArray = await QueuedTask.Run(() => { var g = new List<object>() { geometry, }; // Creates a 8000-meter buffer around the geometry object // n 阅读全文

posted @ 2022-09-19 21:00 gisai 阅读(124) 评论(0) 推荐(0)

2022年9月18日

ArcGIS Pro二次开发 是否有通过SDK打开/激活目录窗格的简单方法?

摘要: protected override void OnClick() { ExecuteProCommand("esri_core_showProjectView"); ExecuteProCommand("esri_core_showProjectDockPane"); } /// <summary 阅读全文

posted @ 2022-09-18 22:38 gisai 阅读(103) 评论(0) 推荐(0)

ArcGIS Pro SDK二次开发目录的刷新

摘要: protected override void OnClick() { var commandId = FrameworkApplication.GetPlugInWrapper(@"esri_core_exitApplicationButton") as ICommand; if (command 阅读全文

posted @ 2022-09-18 22:29 gisai 阅读(136) 评论(0) 推荐(0)

2022年9月17日

ArcGIS Pro 查询

摘要: var us_states = MapView.Active.Map.GetLayersAsFlattenedList() .OfType<FeatureLayer>().First(lyr => lyr.Name == "US States"); QueuedTask.Run(() => { us 阅读全文

posted @ 2022-09-17 08:33 gisai 阅读(161) 评论(0) 推荐(0)

2022年9月16日

ArcEngine拖拽加载文件

摘要: 来自:https://www.likecs.com/show-204002511.html 第一步:设置MapControl的AllowDrop属性为True第二步:设置MapControl的OldDropEnabled属性为True第三步:选择MapControl的OnOleDrop事件第四步:加 阅读全文

posted @ 2022-09-16 20:21 gisai 阅读(67) 评论(0) 推荐(0)

2022年9月15日

基于c#/Arcgis Engine开发时,从ArcCatalog拖放(DragDrog)数据集至TextBox的实现

摘要: 原文:http://www.samuelbosch.com/2009/06/drag-drop-from-arccatalog.html 帮助类: using System.Collections.Generic; using System.Windows.Forms; using ESRI.Arc 阅读全文

posted @ 2022-09-15 08:11 gisai 阅读(61) 评论(0) 推荐(0)

文件拖放到WinForm控件上,文件途径(地址)显示到控件上

摘要: 先看一下效果,在这里我以TextBox控件为例,其它类型的操作也类似于这样 视频讲解地址 https://www.bilibili.com/video/BV1AV4y1M7mR 步骤如下(控件名为textBox1) 1、注册两个事件,代码如下 1 2 3 4 5 6 7 8 9 10 11 12 1 阅读全文

posted @ 2022-09-15 08:08 gisai 阅读(131) 评论(0) 推荐(0)

2022年9月12日

How to "Activate" a MapFrame in C#

摘要: internal class ActivateMapFrameBtn: Button { protected override void OnClick() { //1. must be on the GUI - dont switch to QueuedTask //2. Layout view 阅读全文

posted @ 2022-09-12 17:21 gisai 阅读(52) 评论(0) 推荐(0)

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