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

gisoracle

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

公告

随笔分类 -  C#

上一页 1 2 3 4 5 6 7 8 ··· 17 下一页

C#
VS2019 Visual Studio 2019 Key
摘要:原文地址:https://bbs.csdn.net/topics/392562434 Visual Studio 2019 Enterprise 企业版:BF8Y8-GN2QH-T84XB-QVY3B-RC4DF Visual Studio 2019 Professional 专业版:NYWVH-H 阅读全文

posted @ 2020-03-27 09:41 gisai 阅读(485) 评论(0) 推荐(0)

ArcGIS Pro Pagex保存和导入
摘要:await QueuedTask.Run(() => { layout.SaveAsFile(filePath); }); IProjectItem pagx = ItemFactory.Instance.Create(@"C:\Temp\gisoracle.pagx") as IProjectIt 阅读全文

posted @ 2020-03-27 08:05 gisai 阅读(378) 评论(0) 推荐(0)

ArcGIS Pro界面定义XML
摘要:<?xml version="1.0" encoding="UTF-8"?> <ArcGIS defaultAssembly="ArcGIS.Desktop.Layouts.dll" defaultNamespace="ArcGIS.Desktop.Layouts" xmlns="http://sc 阅读全文

posted @ 2020-03-27 07:55 gisai 阅读(641) 评论(0) 推荐(0)

Can annotations be created or edited in ArcGIS Pro?
摘要:No, annotations cannot be created or edited in ArcGIS Pro. Furthermore, the Convert Annotation to Text function in ArcMap is not currently available i 阅读全文

posted @ 2020-03-26 12:21 gisai 阅读(188) 评论(0) 推荐(0)

ArcGIS Pro 新建一个Aprx,导入Mxd
摘要:CreateProjectSettings projectSettings = new CreateProjectSettings() { //Sets the project's name Name = "New Project", //Path where new project will be 阅读全文

posted @ 2020-03-26 11:57 gisai 阅读(1587) 评论(0) 推荐(0)

ArcGIS Pro项目保存和数据编辑保存
摘要:await Project.Current.SaveAsAsync(@"C:\Data\MyProject1\MyNewProject1.aprx"); bool saveResult = await Project.Current.SaveEditsAsync(); 阅读全文

posted @ 2020-03-26 11:42 gisai 阅读(1322) 评论(0) 推荐(0)

ArcGIS Pro批量线分割面,也可以线分割线
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Core.CIM; using ArcGI 阅读全文

posted @ 2020-03-26 11:21 gisai 阅读(1474) 评论(0) 推荐(0)

ArcGIS Pro 删除选择范围的数据和批量裁剪clip
摘要:protected override Task<bool> OnSketchCompleteAsync(Geometry geometry) { QueuedTask.Run(() => { var deleteFeatures = new EditOperation(); deleteFeatur 阅读全文

posted @ 2020-03-26 10:25 gisai 阅读(1100) 评论(0) 推荐(0)

ArcGIS Pro NearestVertex和NearestPoint
摘要:ArcGIS Pro NearestVertex和NearestPoint 阅读全文

posted @ 2020-03-26 10:06 gisai 阅读(375) 评论(0) 推荐(0)

ArcGIS Pro打印预览
摘要:ArcGIS Pro打印预览 阅读全文

posted @ 2020-03-25 10:15 gisai 阅读(374) 评论(0) 推荐(0)

ArcGIS Pro 二次开发添加连接,断开连接,导入mxd
摘要:#region AddFolderConnectionProjectItem /// Add a folder connection to a project Item folderToAdd = ItemFactory.Instance.Create(@"C:\gisoracle\Oregon\C 阅读全文

posted @ 2020-03-23 20:42 gisai 阅读(527) 评论(0) 推荐(0)

无法将类型“System.Threading.Tasks.Task<string>”隐式转换为“string”
摘要:学习加微信公众号 我的微信公众号 private Task<string> methodAsync() { Thread.Sleep(10000); return "Hello"; //Error: Cannot implicitly convert type 'string' to 'System 阅读全文

posted @ 2020-03-23 20:12 gisai 阅读(5671) 评论(0) 推荐(0)

ArcGIS Pro 读写BLOB字段
摘要:public async Task WriteBlobField(Table table, string blobFieldName, string imageFileName) { await ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask. 阅读全文

posted @ 2020-03-23 14:19 gisai 阅读(654) 评论(0) 推荐(0)

ArcGIS Pro二次开发--增加数据到地图,打开影像
摘要:if (MapView.Active == null) return; Map map = MapView.Active.Map; if (map == null) return; try { string Layerurl = @"E:\ff\G48G082023.gdb\jfb10000注记"; 阅读全文

posted @ 2020-03-23 09:56 gisai 阅读(562) 评论(0) 推荐(0)

C#一个简单的含参数,控件调用多线程调用
摘要:} public void myStaticThreadMethod(int n) { for (int i = 0; i < n; i++) { this.Invoke((EventHandler)delegate { this.label1.Text ="gisoracle"+ n.ToStri 阅读全文

posted @ 2020-03-20 21:30 gisai 阅读(232) 评论(0) 推荐(0)

ArcGIS Pro标准分幅地图批量打印
摘要:ArcGIS Pro标准分幅地图批量打印 阅读全文

posted @ 2020-03-19 19:34 gisai 阅读(1352) 评论(0) 推荐(0)

ArcGIS Pro-二次开发,屏幕任意范围矩形打印
摘要:ArcGIS Pro-二次开发,屏幕任意范围矩形打印 阅读全文

posted @ 2020-03-19 19:19 gisai 阅读(448) 评论(0) 推荐(1)

ArcGIS Pro添加一个图片
摘要:// get the current mapview and point var mapView = MapView.Active; if (mapView == null) return; var pictureGraphic = new CIMPictureGraphic(); pictureG 阅读全文

posted @ 2020-03-18 20:58 gisai 阅读(1218) 评论(0) 推荐(0)

ArcGIS Pro获得地图选择记录数
摘要:map.SelectionCount() 阅读全文

posted @ 2020-03-18 20:51 gisai 阅读(276) 评论(0) 推荐(0)

List<T>转IEnumerable<T>
摘要:public static Polyline gettwoLine(double x1, double y1, double x2, double y2) { Coordinate2D p1 = new Coordinate2D(x1, y1); Coordinate2D p2 = new Coor 阅读全文

posted @ 2020-03-18 16:07 gisai 阅读(1394) 评论(0) 推荐(0)

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